[][src]Struct gf::support::bitvec::BitVecOpApp

pub struct BitVecOpApp { /* fields omitted */ }

Context for applying an operator to a tuple of bit vectors.

Implementations

impl BitVecOpApp[src]

pub fn new<I>(operator: BitVecOp, operands: I) -> Result<Self, BitVecOpError> where
    I: IntoIterator<Item = BitVec>, 
[src]

Create an operator application context.

pub fn result_bit_len(&self) -> usize[src]

Return the result bit length.

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

Apply the operator.

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

Apply the operator without using fast path optimizations.

Trait Implementations

impl Clone for BitVecOpApp[src]

impl Debug for BitVecOpApp[src]

impl Eq for BitVecOpApp[src]

impl Hash for BitVecOpApp[src]

impl PartialEq<BitVecOpApp> for BitVecOpApp[src]

impl StructuralEq for BitVecOpApp[src]

impl StructuralPartialEq for BitVecOpApp[src]

impl TryFrom<(BitVecOp, BitVec, BitVec, BitVec)> for BitVecOpApp[src]

type Error = BitVecOpError

The type returned in the event of a conversion error.

impl TryFrom<(BitVecOp, BitVec, BitVec)> for BitVecOpApp[src]

type Error = BitVecOpError

The type returned in the event of a conversion error.

impl TryFrom<(BitVecOp, BitVec)> for BitVecOpApp[src]

type Error = BitVecOpError

The type returned in the event of a conversion error.

Auto Trait Implementations

impl RefUnwindSafe for BitVecOpApp

impl Send for BitVecOpApp

impl Sync for BitVecOpApp

impl Unpin for BitVecOpApp

impl UnwindSafe for BitVecOpApp

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> 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.