pub enum Var {
NSVar(Sym),
SVar0(Sym),
SVar1(Sym),
}Expand description
A variable wraps a symbol.
Variants§
NSVar(Sym)
Variable constant in time (Non-Stateful Var: NSVar).
SVar0(Sym)
State variable in the current step.
SVar1(Sym)
State variable in the next step.
Implementations§
Trait Implementations§
Source§impl<'a> Expr2Smt<&'a Offset> for Var
impl<'a> Expr2Smt<&'a Offset> for Var
Source§fn expr_to_smt2<Writer: Write>(
&self,
writer: &mut Writer,
off: &'a Offset,
) -> SmtRes<()>
fn expr_to_smt2<Writer: Write>( &self, writer: &mut Writer, off: &'a Offset, ) -> SmtRes<()>
Prints an expression to a writer given some info.
Source§impl<'a> Sym2Smt<&'a Offset> for Var
impl<'a> Sym2Smt<&'a Offset> for Var
Source§fn sym_to_smt2<Writer: Write>(
&self,
writer: &mut Writer,
off: &'a Offset,
) -> SmtRes<()>
fn sym_to_smt2<Writer: Write>( &self, writer: &mut Writer, off: &'a Offset, ) -> SmtRes<()>
Prints a symbol to a writer given some info.
impl StructuralPartialEq for Var
Auto Trait Implementations§
impl Freeze for Var
impl RefUnwindSafe for Var
impl Send for Var
impl Sync for Var
impl Unpin for Var
impl UnsafeUnpin for Var
impl UnwindSafe for Var
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