Lines Matching defs:T
167 pub fn into_vec<T, A: Allocator>(b: Box<[T], A>) -> Vec<T, A> { in into_vec() argument
177 pub fn to_vec<T: ConvertVec, A: Allocator>(s: &[T], alloc: A) -> Vec<T, A> { in to_vec() argument
189 impl<T: Clone> ConvertVec for T { implementation
226 impl<T: Copy> ConvertVec for T { implementation
243 impl<T> [T] { implementation
332 F: FnMut(&T, &T) -> Ordering, in sort_by()
503 pub fn to_vec_in<A: Allocator>(&self, alloc: A) -> Vec<T, A> in to_vec_in()
528 pub fn into_vec<A: Allocator>(self: Box<Self, A>) -> Vec<T, A> { in into_vec() argument
777 fn concat(slice: &Self) -> Vec<T> { in concat()
792 fn join(slice: &Self, sep: &T) -> Vec<T> { in join()
815 fn join(slice: &Self, sep: &[T]) -> Vec<T> { in join()
840 fn borrow(&self) -> &[T] { in borrow()
847 fn borrow_mut(&mut self) -> &mut [T] { in borrow_mut()
854 impl<T: Clone> ToOwned for [T] { implementation
857 fn to_owned(&self) -> Vec<T> { in to_owned()
862 fn to_owned(&self) -> Vec<T> { in to_owned()
866 fn clone_into(&self, target: &mut Vec<T>) { in clone_into()
888 fn insert_head<T, F>(v: &mut [T], is_less: &mut F) in insert_head()
960 unsafe fn merge<T, F>(v: &mut [T], mid: usize, buf: *mut T, is_less: &mut F) in merge()
1039 unsafe fn get_and_increment<T>(ptr: &mut *mut T) -> *mut T { in merge()
1045 unsafe fn decrement_and_get<T>(ptr: &mut *mut T) -> *mut T { in merge()
1081 fn merge_sort<T, F>(v: &mut [T], mut is_less: F) in merge_sort()