Lines Matching defs:Self
481 pub fn with_capacity(capacity: usize) -> Self { in with_capacity()
536 pub fn try_with_capacity(capacity: usize) -> Result<Self, TryReserveError> { in try_with_capacity()
643 pub unsafe fn from_raw_parts(ptr: *mut T, length: usize, capacity: usize) -> Self { in from_raw_parts()
665 pub const fn new_in(alloc: A) -> Self { in new_in()
727 pub fn with_capacity_in(capacity: usize, alloc: A) -> Self { in with_capacity_in()
787 pub fn try_with_capacity_in(capacity: usize, alloc: A) -> Result<Self, TryReserveError> { in try_with_capacity_in()
901 pub unsafe fn from_raw_parts_in(ptr: *mut T, length: usize, capacity: usize, alloc: A) -> Self { in from_raw_parts_in()
2123 pub fn append(&mut self, other: &mut Self) { in append()
2924 fn clone(&self) -> Self { in clone()
2934 fn clone(&self) -> Self { in clone()
2939 fn clone_from(&mut self, other: &Self) { in clone_from()
3548 fn from(s: Box<[T], A>) -> Self { in from()
3576 fn from(v: Vec<T, A>) -> Self { in from()