Lines Matching defs:T
217 unsafe fn dec_len(&mut self, count: usize) -> &mut [T] { in dec_len()
230 pub fn as_slice(&self) -> &[T] { in as_slice()
236 pub fn as_mut_slice(&mut self) -> &mut [T] { in as_mut_slice()
243 pub fn as_mut_ptr(&mut self) -> *mut T { in as_mut_ptr()
250 pub fn as_ptr(&self) -> *const T { in as_ptr()
289 pub fn spare_capacity_mut(&mut self) -> &mut [MaybeUninit<T>] { in spare_capacity_mut()
314 pub fn push(&mut self, v: T, flags: Flags) -> Result<(), AllocError> { in push()
337 pub fn push_within_capacity(&mut self, v: T) -> Result<(), PushError<T>> { in push_within_capacity()
352 unsafe fn push_within_capacity_unchecked(&mut self, v: T) { in push_within_capacity_unchecked()
387 element: T, in insert_within_capacity()
388 ) -> Result<(), InsertError<T>> { in insert_within_capacity()
428 pub fn pop(&mut self) -> Option<T> { in pop()
454 pub fn remove(&mut self, i: usize) -> Result<T, RemoveError> { in remove()
539 pub unsafe fn from_raw_parts(ptr: *mut T, length: usize, capacity: usize) -> Self { in from_raw_parts()
565 pub fn into_raw_parts(self) -> (*mut T, usize, usize) { in into_raw_parts()
692 pub fn drain_all(&mut self) -> DrainAll<'_, T> { in drain_all() argument
728 pub fn extend_with(&mut self, n: usize, value: T, flags: Flags) -> Result<(), AllocError> { in extend_with()
767 pub fn extend_from_slice(&mut self, other: &[T], flags: Flags) -> Result<(), AllocError> { in extend_from_slice()
783 pub fn from_elem(value: T, n: usize, flags: Flags) -> Result<Self, AllocError> { in from_elem()
808 pub fn resize(&mut self, new_len: usize, value: T, flags: Flags) -> Result<(), AllocError> { in resize()
843 fn from(b: Box<[T; N], A>) -> Vec<T, A> { in from() argument
877 fn deref(&self) -> &[T] { in deref()
889 fn deref_mut(&mut self) -> &mut [T] { in deref_mut()
995 fn into_raw_parts(self) -> (*mut T, NonNull<T>, usize, usize) { in into_raw_parts()
1039 pub fn collect(self, flags: Flags) -> Vec<T, A> { in collect()
1106 fn next(&mut self) -> Option<T> { in next()
1225 fn next(&mut self) -> Option<T> { in next()