pub struct SlotView {
pub name: String,
pub slot: usize,
pub initialized: bool,
pub value: Option<ValueView>,
}Fields§
§name: String§slot: usize§initialized: boolFalse until the slot’s OpSetLocal/OpSetGlobal ran. The prefilled
null in an uninitialized slot is VM plumbing, not a user value, so
value is None whenever this is false.
value: Option<ValueView>Trait Implementations§
impl Eq for SlotView
impl StructuralPartialEq for SlotView
Auto Trait Implementations§
impl Freeze for SlotView
impl RefUnwindSafe for SlotView
impl Send for SlotView
impl Sync for SlotView
impl Unpin for SlotView
impl UnsafeUnpin for SlotView
impl UnwindSafe for SlotView
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