#[repr(C)]pub struct VarCellPayload {
pub value: GcRef,
}Expand description
The runtime payload of a VarCell: a single GcRef slot. #[repr(C)] so
the ABI wrappers can read/write it at a known offset.
Fields§
§value: GcRefThe current value held by the captured var.
Auto Trait Implementations§
impl !RefUnwindSafe for VarCellPayload
impl !Send for VarCellPayload
impl !Sync for VarCellPayload
impl !UnwindSafe for VarCellPayload
impl Freeze for VarCellPayload
impl Unpin for VarCellPayload
impl UnsafeUnpin for VarCellPayload
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