Lines Matching refs:other

1813     pub fn append(&mut self, other: &mut Self) {  in append()
1815 self.append_elements(other.as_slice() as _); in append()
1816 other.set_len(0); in append()
1823 unsafe fn append_elements(&mut self, other: *const [T]) { in append_elements()
1824 let count = unsafe { (*other).len() }; in append_elements()
1827 unsafe { ptr::copy_nonoverlapping(other as *const T, self.as_mut_ptr().add(len), count) }; in append_elements()
2001 let mut other = Vec::with_capacity_in(other_len, self.allocator().clone()); in split_off() localVariable
2006 other.set_len(other_len); in split_off()
2008 ptr::copy_nonoverlapping(self.as_ptr().add(at), other.as_mut_ptr(), other.len()); in split_off()
2010 other in split_off()
2273 pub fn extend_from_slice(&mut self, other: &[T]) { in extend_from_slice()
2274 self.spec_extend(other.iter()) in extend_from_slice()
2535 fn clone_from(this: &mut Self, other: &Self); in clone_from()
2540 default fn clone_from(this: &mut Self, other: &Self) { in clone_from()
2542 this.truncate(other.len()); in clone_from()
2546 let (init, tail) = other.split_at(this.len()); in clone_from()
2556 fn clone_from(this: &mut Self, other: &Self) { in clone_from()
2558 this.extend_from_slice(other); in clone_from()
2581 fn clone_from(&mut self, other: &Self) { in clone_from()
2582 SpecCloneFrom::clone_from(self, other) in clone_from()
2882 fn partial_cmp(&self, other: &Self) -> Option<Ordering> { in partial_cmp()
2883 PartialOrd::partial_cmp(&**self, &**other) in partial_cmp()
2894 fn cmp(&self, other: &Self) -> Ordering { in cmp()
2895 Ord::cmp(&**self, &**other) in cmp()