#[repr(u32)]pub enum ParameterKind {
Int = 0,
Double = 1,
Rational = 2,
Symbol = 3,
Sort = 4,
AST = 5,
FuncDecl = 6,
}Expand description
The different kinds of parameters that can be associated with function symbols.
This corresponds to Z3_parameter_kind in the C API.
§See also:
Variants§
Int = 0
An integer parameter.
This corresponds to Z3_PARAMETER_INT in the C API.
Double = 1
A double parameter.
This corresponds to Z3_PARAMETER_DOUBLE in the C API.
Rational = 2
A rational number parameter.
This corresponds to Z3_PARAMETER_RATIONAL in the C API.
Symbol = 3
A symbol parameter.
This corresponds to Z3_PARAMETER_SYMBOL in the C API.
Sort = 4
A sort parameter.
This corresponds to Z3_PARAMETER_SORT in the C API.
AST = 5
An expression parameter.
This corresponds to Z3_PARAMETER_AST in the C API.
FuncDecl = 6
A function declaration parameter.
This corresponds to Z3_PARAMETER_FUNC_DECL in the C API.
Trait Implementations§
Source§impl Clone for ParameterKind
impl Clone for ParameterKind
Source§fn clone(&self) -> ParameterKind
fn clone(&self) -> ParameterKind
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ParameterKind
impl Debug for ParameterKind
Source§impl Hash for ParameterKind
impl Hash for ParameterKind
Source§impl PartialEq for ParameterKind
impl PartialEq for ParameterKind
impl Copy for ParameterKind
impl Eq for ParameterKind
impl StructuralPartialEq for ParameterKind
Auto Trait Implementations§
impl Freeze for ParameterKind
impl RefUnwindSafe for ParameterKind
impl Send for ParameterKind
impl Sync for ParameterKind
impl Unpin for ParameterKind
impl UnwindSafe for ParameterKind
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