[−][src]Struct gf::smt::Sort
🟢 Sort.
Sorts are reference-counted: the Clone
implementation increments the
counter, and the Drop
implementation decrements it, freeing the sort when
it is no longer used.
Implementations
impl Sort
[src]
pub fn new_bit_vec(bit_len: usize) -> Self
[src]
Construct a bit vector sort of given length.
pub fn new_fn<I>(args: I, result: Sort) -> Self where
I: IntoIterator<Item = Sort>,
[src]
I: IntoIterator<Item = Sort>,
Construct a function sort.
pub fn from_value(value: &ExprValue) -> Self
[src]
Construct sort from a value.
pub fn kind(&self) -> &SortKind
[src]
Return the sort kind.
pub fn is_bit_vec(&self) -> bool
[src]
Return whether the sort is a bit vector sort.
pub fn is_bit_vec_bool(&self) -> bool
[src]
Return whether the sort is a bit vector sort of length 1.
pub fn is_bit_vec_of_len(&self, bit_len: usize) -> bool
[src]
Return whether the sort is a bit vector sort of length bit_len
.
pub fn is_fn(&self) -> bool
[src]
Return whether the sort is a function sort.
pub fn bit_vec_len(&self) -> usize
[src]
pub fn fn_arg_sorts(&self) -> &[Sort]
[src]
pub fn fn_result_sort(&self) -> &Sort
[src]
Trait Implementations
impl Clone for Sort
[src]
impl Debug for Sort
[src]
impl Eq for Sort
[src]
impl Hash for Sort
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl PartialEq<Sort> for Sort
[src]
impl StructuralEq for Sort
[src]
impl StructuralPartialEq for Sort
[src]
Auto Trait Implementations
impl RefUnwindSafe for Sort
impl Send for Sort
impl Sync for Sort
impl Unpin for Sort
impl UnwindSafe for Sort
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
pub fn equivalent(&self, key: &K) -> bool
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,