Home
last modified time | relevance | path

Searched refs:as_slice (Results 1 – 3 of 3) sorted by relevance

/Linux-v6.1/rust/alloc/vec/
Ddrain.rs41 f.debug_tuple("Drain").field(&self.iter.as_slice()).finish() in fmt()
59 pub fn as_slice(&self) -> &[T] { in as_slice() method
60 self.iter.as_slice() in as_slice()
75 self.as_slice() in as_ref()
160 let drop_ptr = iter.as_slice().as_ptr(); in drop()
Dinto_iter.rs49 f.debug_tuple("IntoIter").field(&self.as_slice()).finish() in fmt()
66 pub fn as_slice(&self) -> &[T] { in as_slice() method
138 self.as_slice() in as_ref()
309 self.as_slice().to_vec_in(self.alloc.deref().clone()).into_iter() in clone()
313 crate::slice::to_vec(self.as_slice(), self.alloc.deref().clone()).into_iter() in clone()
Dmod.rs1091 pub fn as_slice(&self) -> &[T] { in as_slice() method
1815 self.append_elements(other.as_slice() as _); in append()