Struct janetrs::JanetGcRootGuard
source · pub struct JanetGcRootGuard { /* private fields */ }
Expand description
An RAII implementation of a rooted Janet
value. When this structure is dropped
(falls out of scope), the rooting will be undone.
Trait Implementations§
source§impl Debug for JanetGcRootGuard
impl Debug for JanetGcRootGuard
Auto Trait Implementations§
impl Freeze for JanetGcRootGuard
impl RefUnwindSafe for JanetGcRootGuard
impl !Send for JanetGcRootGuard
impl !Sync for JanetGcRootGuard
impl Unpin for JanetGcRootGuard
impl UnwindSafe for JanetGcRootGuard
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