pub struct Upvalue { /* private fields */ }Expand description
An upvalue cell. Open: refers to a live VM stack slot (the stack is a GC root, so open cells trace nothing). Closed: owns the value inline.
Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Upvalue
impl !Send for Upvalue
impl !Sync for Upvalue
impl !UnwindSafe for Upvalue
impl Freeze for Upvalue
impl Unpin for Upvalue
impl UnsafeUnpin for Upvalue
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