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