pub struct UpvalueCell {
pub value: RefCell<Value>,
}Expand description
A mutable cell for captured variables (upvalues).
Fields§
§value: RefCell<Value>Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for UpvalueCell
impl !RefUnwindSafe for UpvalueCell
impl Send for UpvalueCell
impl !Sync for UpvalueCell
impl Unpin for UpvalueCell
impl UnsafeUnpin for UpvalueCell
impl UnwindSafe for UpvalueCell
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