[][src]Enum gf::smt::ExprValue

pub enum ExprValue {
    BitVec(BitVec),
}

Expression value.

Variants

BitVec(BitVec)

Bit vector value.

Methods

impl ExprValue[src]

pub fn as_bit_vec(&self) -> &BitVec[src]

Return reference to a bit vector value.

Errors

  • Panics if the value is not a bit vector.

pub fn into_bit_vec(self) -> BitVec[src]

Unwrap a bit vector value.

Errors

  • Panics if the value is not a bit vector.

Trait Implementations

impl Clone for ExprValue[src]

impl Eq for ExprValue[src]

impl PartialEq<ExprValue> for ExprValue[src]

impl Debug for ExprValue[src]

impl Hash for ExprValue[src]

impl StructuralPartialEq for ExprValue[src]

impl StructuralEq for ExprValue[src]

Auto Trait Implementations

impl Send for ExprValue

impl Sync for ExprValue

impl Unpin for ExprValue

impl UnwindSafe for ExprValue

impl RefUnwindSafe for ExprValue

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]