pub enum Command {
Show 27 variants
Assert(Term),
CheckSat,
CheckSatAssuming(Vec<PropLiteral>),
DeclareConst(Symbol, Sort),
DeclareDatatype(Symbol, DatatypeDec),
DeclareDatatypes(Vec<(SortDec, DatatypeDec)>),
DeclareFun(Symbol, Vec<Sort>, Sort),
DeclareSort(Symbol, i64),
DefineFun(FunctionDef),
DefineFunRec(FunctionDef),
DefineFunsRec(Vec<(FunctionDec, Term)>),
DefineSort(Symbol, Vec<Symbol>, Sort),
Echo(StringConstant),
Exit,
GetAssertions,
GetAssignment,
GetModel,
GetOption(Keyword),
GetProof,
GetUnsatAssumptions,
GetUnsatCore,
GetValue(Vec<Term>),
Pop(i64),
Push(i64),
Reset,
ResetAssertions,
SetLogic(Symbol),
}
Variants§
Assert(Term)
CheckSat
CheckSatAssuming(Vec<PropLiteral>)
DeclareConst(Symbol, Sort)
DeclareDatatype(Symbol, DatatypeDec)
DeclareDatatypes(Vec<(SortDec, DatatypeDec)>)
DeclareFun(Symbol, Vec<Sort>, Sort)
DeclareSort(Symbol, i64)
DefineFun(FunctionDef)
DefineFunRec(FunctionDef)
DefineFunsRec(Vec<(FunctionDec, Term)>)
DefineSort(Symbol, Vec<Symbol>, Sort)
Echo(StringConstant)
Exit
GetAssertions
GetAssignment
GetModel
GetOption(Keyword)
GetProof
GetUnsatAssumptions
GetUnsatCore
GetValue(Vec<Term>)
Pop(i64)
Push(i64)
Reset
ResetAssertions
SetLogic(Symbol)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Command
impl RefUnwindSafe for Command
impl Send for Command
impl Sync for Command
impl Unpin for Command
impl UnwindSafe for Command
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