pub struct Offset(/* private fields */);Expand description
An offset gives the index of current and next step.
Implementations§
Trait Implementations§
Source§impl<'a> Expr2Smt<&'a Offset> for SExpr
impl<'a> Expr2Smt<&'a Offset> for SExpr
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> 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 Copy for Offset
impl StructuralPartialEq for Offset
Auto Trait Implementations§
impl Freeze for Offset
impl RefUnwindSafe for Offset
impl Send for Offset
impl Sync for Offset
impl Unpin for Offset
impl UnsafeUnpin for Offset
impl UnwindSafe for Offset
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