Home
last modified time | relevance | path

Searched refs:SetLenOnDrop (Results 1 – 2 of 2) sorted by relevance

/Linux-v6.6/rust/alloc/vec/
Dset_len_on_drop.rs8 pub(super) struct SetLenOnDrop<'a> { struct
13 impl<'a> SetLenOnDrop<'a> { argument
16 SetLenOnDrop { local_len: *len, len } in new()
30 impl Drop for SetLenOnDrop<'_> { implementation
Dmod.rs121 use self::set_len_on_drop::SetLenOnDrop;
2714 let mut local_len = SetLenOnDrop::new(&mut self.len); in extend_with()
2743 let mut local_len = SetLenOnDrop::new(&mut self.len); in try_extend_with()
3115 let mut local_len = SetLenOnDrop::new(&mut self.len); in extend_trusted()
3148 let mut local_len = SetLenOnDrop::new(&mut self.len); in try_extend_trusted()