[][src]Struct moore_svlog::value::ValueData

pub struct ValueData<'t> {
    pub ty: Type<'t>,
    pub kind: ValueKind<'t>,
}

The data associated with a value.

Fields

ty: Type<'t>

The type of the value.

kind: ValueKind<'t>

The actual value.

Methods

impl<'t> ValueData<'t>[src]

pub fn is_true(&self) -> bool[src]

Check if this value evaluates to true.

pub fn is_false(&self) -> bool[src]

Check if this value evaluates to false.

pub fn get_int(&self) -> Option<&BigInt>[src]

Convert the value to an integer.

Trait Implementations

impl<'t> Clone for ValueData<'t>[src]

impl<'t> Debug for ValueData<'t>[src]

impl<'t> Eq for ValueData<'t>[src]

impl<'t> Hash for ValueData<'t>[src]

impl<'t> PartialEq<ValueData<'t>> for ValueData<'t>[src]

impl<'t> StructuralEq for ValueData<'t>[src]

impl<'t> StructuralPartialEq for ValueData<'t>[src]

Auto Trait Implementations

impl<'t> RefUnwindSafe for ValueData<'t>

impl<'t> Send for ValueData<'t>

impl<'t> Sync for ValueData<'t>

impl<'t> Unpin for ValueData<'t>

impl<'t> UnwindSafe for ValueData<'t>

Blanket Implementations

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

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

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

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

impl<T> Erased for T

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

impl<T, U> Into<U> for T where
    U: From<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.