pub enum Const {
BConst(bool),
IConst(isize),
RConst(isize, usize),
}Expand description
A constant.
Variants§
BConst(bool)
Boolean constant.
IConst(isize)
Integer constant.
RConst(isize, usize)
Rational constant.
Trait Implementations§
Source§impl Expr2Smt<()> for Const
impl Expr2Smt<()> for Const
Source§fn expr_to_smt2<Writer: Write>(&self, writer: &mut Writer, _: ()) -> SmtRes<()>
fn expr_to_smt2<Writer: Write>(&self, writer: &mut Writer, _: ()) -> SmtRes<()>
Prints an expression to a writer given some info.
impl StructuralPartialEq for Const
Auto Trait Implementations§
impl Freeze for Const
impl RefUnwindSafe for Const
impl Send for Const
impl Sync for Const
impl Unpin for Const
impl UnsafeUnpin for Const
impl UnwindSafe for Const
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