Struct allocator_api2::stable::vec::set_len_on_drop::SetLenOnDrop
source · pub(super) struct SetLenOnDrop<'a> {
len: &'a mut usize,
local_len: usize,
}
Fields§
§len: &'a mut usize
§local_len: usize
Implementations§
source§impl<'a> SetLenOnDrop<'a>
impl<'a> SetLenOnDrop<'a>
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for SetLenOnDrop<'a>
impl<'a> RefUnwindSafe for SetLenOnDrop<'a>
impl<'a> Send for SetLenOnDrop<'a>
impl<'a> Sync for SetLenOnDrop<'a>
impl<'a> Unpin for SetLenOnDrop<'a>
impl<'a> !UnwindSafe for SetLenOnDrop<'a>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more