Lines Matching defs:T
102 pub fn into_vec<T, A: Allocator>(b: Box<[T], A>) -> Vec<T, A> { in into_vec() argument
112 pub fn to_vec<T: ConvertVec, A: Allocator>(s: &[T], alloc: A) -> Vec<T, A> { in to_vec() argument
124 impl<T: Clone> ConvertVec for T { implementation
161 impl<T: Copy> ConvertVec for T { implementation
178 impl<T> [T] { implementation
267 F: FnMut(&T, &T) -> Ordering, in sort_by()
438 pub fn to_vec_in<A: Allocator>(&self, alloc: A) -> Vec<T, A> in to_vec_in()
463 pub fn into_vec<A: Allocator>(self: Box<Self, A>) -> Vec<T, A> { in into_vec() argument
712 fn concat(slice: &Self) -> Vec<T> { in concat()
727 fn join(slice: &Self, sep: &T) -> Vec<T> { in join()
750 fn join(slice: &Self, sep: &[T]) -> Vec<T> { in join()
775 fn borrow(&self) -> &[T] { in borrow()
782 fn borrow_mut(&mut self) -> &mut [T] { in borrow_mut()
792 fn clone_into(&self, target: &mut Vec<T, A>); in clone_into()
796 impl<T: Clone, A: Allocator> SpecCloneIntoVec<T, A> for [T] { implementation
797 default fn clone_into(&self, target: &mut Vec<T, A>) { in clone_into()
812 impl<T: Copy, A: Allocator> SpecCloneIntoVec<T, A> for [T] { implementation
813 fn clone_into(&self, target: &mut Vec<T, A>) { in clone_into()
821 impl<T: Clone> ToOwned for [T] { implementation
824 fn to_owned(&self) -> Vec<T> { in to_owned()
829 fn to_owned(&self) -> Vec<T> { in to_owned()
833 fn clone_into(&self, target: &mut Vec<T>) { in clone_into()
844 fn stable_sort<T, F>(v: &mut [T], mut is_less: F) in stable_sort()