pub struct HeapGuard<'a> {
td: &'a Thread,
phantom: PhantomData<*const ()>,
}
Expand description
RAII struct to disable VM heap for the thread.
Fields§
§td: &'a Thread
§phantom: PhantomData<*const ()>
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for HeapGuard<'a>
impl<'a> !RefUnwindSafe for HeapGuard<'a>
impl<'a> !Send for HeapGuard<'a>
impl<'a> !Sync for HeapGuard<'a>
impl<'a> Unpin for HeapGuard<'a>
impl<'a> !UnwindSafe for HeapGuard<'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