Lines Matching refs:Vec

98 pub struct Vec<T, A: Allocator> {  struct
120 pub type KVec<T> = Vec<T, Kmalloc>;
133 pub type VVec<T> = Vec<T, Vmalloc>;
146 pub type KVVec<T> = Vec<T, KVmalloc>;
149 unsafe impl<T, A> Send for Vec<T, A> implementation
157 unsafe impl<T, A> Sync for Vec<T, A> implementation
164 impl<T, A> Vec<T, A> implementation
319 let mut v = Vec::new(); in with_capacity()
460 impl<T: Clone, A: Allocator> Vec<T, A> { implementation
526 impl<T, A> Drop for Vec<T, A> implementation
546 impl<T, A, const N: usize> From<Box<[T; N], A>> for Vec<T, A> implementation
550 fn from(b: Box<[T; N], A>) -> Vec<T, A> { in from()
560 unsafe { Vec::from_raw_parts(ptr as _, len, len) }
571 impl<T: fmt::Debug, A: Allocator> fmt::Debug for Vec<T, A> { implementation
577 impl<T, A> Deref for Vec<T, A> implementation
591 impl<T, A> DerefMut for Vec<T, A> implementation
603 impl<T: Eq, A> Eq for Vec<T, A> where A: Allocator {} implementation
605 impl<T, I: SliceIndex<[T]>, A> Index<I> for Vec<T, A> implementation
617 impl<T, I: SliceIndex<[T]>, A> IndexMut<I> for Vec<T, A> implementation
642 [A1: Allocator, A2: Allocator] Vec<T, A1>, Vec<U, A2>,
643 [A: Allocator] Vec<T, A>, &[U],
644 [A: Allocator] Vec<T, A>, &mut [U],
645 [A: Allocator] &[T], Vec<U, A>,
646 [A: Allocator] &mut [T], Vec<U, A>,
647 [A: Allocator] Vec<T, A>, [U],
648 [A: Allocator] [T], Vec<U, A>,
649 [A: Allocator, const N: usize] Vec<T, A>, [U; N],
650 [A: Allocator, const N: usize] Vec<T, A>, &[U; N],
653 impl<'a, T, A> IntoIterator for &'a Vec<T, A> implementation
665 impl<'a, T, A: Allocator> IntoIterator for &'a mut Vec<T, A> implementation
746 pub fn collect(self, flags: Flags) -> Vec<T, A> { in collect()
789 unsafe { Vec::from_raw_parts(ptr, len, cap) } in collect()
867 impl<T, A> IntoIterator for Vec<T, A> implementation