Struct wasmtime_runtime::GcRoot
source · pub struct GcRoot<'a> { /* private fields */ }
Expand description
A GC root.
This is, effectively, a mutable reference to a VMGcRef
.
Collector implementations should update the VMGcRef
if they move the
VMGcRef
’s referent during the course of a GC.
Implementations§
Auto Trait Implementations§
impl<'a> Freeze for GcRoot<'a>
impl<'a> RefUnwindSafe for GcRoot<'a>
impl<'a> Send for GcRoot<'a>
impl<'a> Sync for GcRoot<'a>
impl<'a> Unpin for GcRoot<'a>
impl<'a> !UnwindSafe for GcRoot<'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