pub enum StateRef {
Null,
Empty,
Vals(Arc<[Option<Value>]>),
Named(Arc<NamedState>),
}Expand description
A state as the evaluator sees it: TLC’s TLCState.Null (no state),
TLCState.Empty (a state with no variable assigned), or the values of the
root module’s variables by dive_ir::VarId, None where unassigned.
Existential queries can instead retain hidden assignments by canonical name.
Variants§
Null
TLCState.Null.
Empty
TLCState.Empty.
Vals(Arc<[Option<Value>]>)
A (possibly partial) state.
Named(Arc<NamedState>)
A query-local partial assignment indexed by canonical variable name.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for StateRef
impl !UnwindSafe for StateRef
impl Forget for StateRef
impl Freeze for StateRef
impl Move for StateRef
impl Send for StateRef
impl Sync for StateRef
impl Unpin for StateRef
impl UnsafeUnpin for StateRef
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