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

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

🟢 Aggregate value.


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

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

Create an aggregate value.


  • Panics if value size does not match aggregate size.

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

Create a unit aggregate value.


  • 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

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

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

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

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T> ToOwned for T where
    T: Clone

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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

The type returned in the event of a conversion error.