[][src]Struct gf::pivot::aggregate::AggregateValue

pub struct AggregateValue<'a> { /* fields omitted */ }

🟢 Aggregate value.

Implementations

impl<'a> AggregateValue<'a>[src]

pub fn new(aggregate: Aggregate<'a>, value: BitVec) -> Self[src]

Create an aggregate value.

Errors

  • Panics if value size does not match aggregate size.

pub fn new_unit(aggregate: Aggregate<'a>) -> Self[src]

Create a unit aggregate value.

Errors

  • Panics if the aggregate is not a unit aggregate.

pub fn aggregate(&self) -> Aggregate<'a>[src]

Return aggregate.

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

Return value.

Trait Implementations

impl<'a> Clone for AggregateValue<'a>[src]

impl<'a> Eq for AggregateValue<'a>[src]

impl<'a> Extend<AggregateValue<'a>> for Insn<'a>[src]

impl<'a> Hash for AggregateValue<'a>[src]

impl<'a> PartialEq<AggregateValue<'a>> for AggregateValue<'a>[src]

impl<'a> StructuralEq for AggregateValue<'a>[src]

impl<'a> StructuralPartialEq for AggregateValue<'a>[src]

Auto Trait Implementations

impl<'a> RefUnwindSafe for AggregateValue<'a>

impl<'a> Send for AggregateValue<'a>

impl<'a> Sync for AggregateValue<'a>

impl<'a> Unpin for AggregateValue<'a>

impl<'a> UnwindSafe for AggregateValue<'a>

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.