pub struct Slot {
pub kind: MKind,
pub hidden: bool,
pub state: SlotState,
pub value: Value,
pub compute: Option<Compute>,
}Expand description
a member’s slot in an instance
Fields§
§kind: MKindthe member’s kind
x$ = e: computed, never part of the value (D34)
state: SlotStateits state
value: Valueits value, once forced
compute: Option<Compute>how it computes
Auto Trait Implementations§
impl !RefUnwindSafe for Slot
impl !Send for Slot
impl !Sync for Slot
impl !UnwindSafe for Slot
impl Freeze for Slot
impl Unpin for Slot
impl UnsafeUnpin for Slot
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