pub struct TempPin { /* private fields */ }
Expand description
a handle that contains a temporary pin
dropping this handle enqueue the pin for dropping before the next gc.
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for TempPin
impl !RefUnwindSafe for TempPin
impl Send for TempPin
impl Sync for TempPin
impl Unpin for TempPin
impl !UnwindSafe for TempPin
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