Lines Matching defs:T

218     unsafe fn dec_len(&mut self, count: usize) -> &mut [T] {  in dec_len()
241 pub fn as_slice(&self) -> &[T] { in as_slice()
247 pub fn as_mut_slice(&mut self) -> &mut [T] { in as_mut_slice()
254 pub fn as_mut_ptr(&mut self) -> *mut T { in as_mut_ptr()
261 pub const fn as_ptr(&self) -> *const T { in as_ptr()
300 pub fn spare_capacity_mut(&mut self) -> &mut [MaybeUninit<T>] { in spare_capacity_mut()
325 pub fn push(&mut self, v: T, flags: Flags) -> Result<(), AllocError> { in push()
348 pub fn push_within_capacity(&mut self, v: T) -> Result<(), PushError<T>> { in push_within_capacity()
363 unsafe fn push_within_capacity_unchecked(&mut self, v: T) { in push_within_capacity_unchecked()
398 element: T, in insert_within_capacity()
399 ) -> Result<(), InsertError<T>> { in insert_within_capacity()
439 pub fn pop(&mut self) -> Option<T> { in pop()
465 pub fn remove(&mut self, i: usize) -> Result<T, RemoveError> { in remove()
550 pub unsafe fn from_raw_parts(ptr: *mut T, length: usize, capacity: usize) -> Self { in from_raw_parts()
576 pub fn into_raw_parts(self) -> (*mut T, usize, usize) { in into_raw_parts()
704 pub fn drain_all(&mut self) -> DrainAll<'_, T> { in drain_all() argument
740 pub fn extend_with(&mut self, n: usize, value: T, flags: Flags) -> Result<(), AllocError> { in extend_with()
779 pub fn extend_from_slice(&mut self, other: &[T], flags: Flags) -> Result<(), AllocError> { in extend_from_slice()
795 pub fn from_elem(value: T, n: usize, flags: Flags) -> Result<Self, AllocError> { in from_elem()
820 pub fn resize(&mut self, new_len: usize, value: T, flags: Flags) -> Result<(), AllocError> { in resize()
855 fn from(b: Box<[T; N], A>) -> Vec<T, A> { in from() argument
889 fn deref(&self) -> &[T] { in deref()
901 fn deref_mut(&mut self) -> &mut [T] { in deref_mut()
929 fn borrow(&self) -> &[T] { in borrow()
955 fn borrow_mut(&mut self) -> &mut [T] { in borrow_mut()
1096 fn into_raw_parts(self) -> (*mut T, NonNull<T>, usize, usize) { in into_raw_parts()
1140 pub fn collect(self, flags: Flags) -> Vec<T, A> { in collect()
1213 fn next(&mut self) -> Option<T> { in next()
1332 fn next(&mut self) -> Option<T> { in next()