pub struct DeferPoint { /* private fields */ }
Expand description
Defer point. GC cycle is deferred when instance of this struct is alive.
Implementations§
Source§impl DeferPoint
impl DeferPoint
pub fn new(heap: &Heap) -> DeferPoint
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DeferPoint
impl RefUnwindSafe for DeferPoint
impl Send for DeferPoint
impl Sync for DeferPoint
impl Unpin for DeferPoint
impl UnwindSafe for DeferPoint
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