Enum z3_sys::SymbolKind
source · #[repr(u32)]pub enum SymbolKind {
Int,
String,
}
Expand description
The different kinds of symbol.
In Z3, a symbol can be represented using integers and
strings. See Z3_get_symbol_kind
.
This corresponds to Z3_symbol_kind
in the C API.
See also:
Variants§
Int
An integer symbol.
This corresponds to Z3_INT_SYMBOL
in the C API.
String
A string symbol.
This corresponds to Z3_STRING_SYMBOL
in the C API.
Trait Implementations§
source§impl Clone for SymbolKind
impl Clone for SymbolKind
source§fn clone(&self) -> SymbolKind
fn clone(&self) -> SymbolKind
Returns a copy 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 SymbolKind
impl Debug for SymbolKind
source§impl Hash for SymbolKind
impl Hash for SymbolKind
source§impl PartialEq<SymbolKind> for SymbolKind
impl PartialEq<SymbolKind> for SymbolKind
source§fn eq(&self, other: &SymbolKind) -> bool
fn eq(&self, other: &SymbolKind) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for SymbolKind
impl Eq for SymbolKind
impl StructuralEq for SymbolKind
impl StructuralPartialEq for SymbolKind
Auto Trait Implementations§
impl RefUnwindSafe for SymbolKind
impl Send for SymbolKind
impl Sync for SymbolKind
impl Unpin for SymbolKind
impl UnwindSafe for SymbolKind
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