[][src]Struct gf::datamodel::BoundExpr

pub struct BoundExpr {
    pub const_fn: ConstFn,
    pub bindings: Vec<Binding>,
}

An expression together with a vector of bindings for its evaluation.

Fields

const_fn: ConstFn

Constant function to be evaluated.

bindings: Vec<Binding>

Bindings for function arguments.

Methods

impl BoundExpr[src]

pub fn from_bit_vec(bv: BitVec) -> Self[src]

Create a bound expression from a constant bit vector.

Trait Implementations

impl<'_> Eval<'_> for BoundExpr[src]

type Output = BitVec

Evaluation output type.

impl Clone for BoundExpr[src]

Auto Trait Implementations

impl Send for BoundExpr

impl Sync for BoundExpr

impl Unpin for BoundExpr

impl UnwindSafe for BoundExpr

impl RefUnwindSafe for BoundExpr

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]