#[repr(u32)]pub enum AstKind {
Numeral = 0,
App = 1,
Var = 2,
Quantifier = 3,
Sort = 4,
FuncDecl = 5,
Unknown = 1_000,
}Expand description
The different kinds of Z3 AST (abstract syntax trees). That is, terms, formulas and types.
This corresponds to Z3_ast_kind in the C API.
Variants§
Numeral = 0
numeral constants
This corresponds to Z3_NUMERAL_AST in the C API.
App = 1
constant and applications
This corresponds to Z3_APP_AST in the C API.
Var = 2
bound variables
This corresponds to Z3_VAR_AST in the C API.
Quantifier = 3
quantifiers
This corresponds to Z3_QUANTIFIER_AST in the C API.
Sort = 4
sort
This corresponds to Z3_SORT_AST in the C API.
FuncDecl = 5
function declaration
This corresponds to Z3_FUNC_DECL_AST in the C API.
Unknown = 1_000
internal
This corresponds to Z3_UNKNOWN_AST in the C API.
Trait Implementations§
impl Copy for AstKind
impl Eq for AstKind
impl StructuralPartialEq for AstKind
Auto Trait Implementations§
impl Freeze for AstKind
impl RefUnwindSafe for AstKind
impl Send for AstKind
impl Sync for AstKind
impl Unpin for AstKind
impl UnwindSafe for AstKind
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