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

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

🟢 Aggregate in a sealed module.


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

pub unsafe fn from_unsealed(
    module: &'a Module,
    id: AggregateId,
    unsealed: &'a UnsealedAggregate
) -> Self

Wrap an unsealed aggregate.

pub fn module(&self) -> &'a Module[src]

Return parent module.

pub fn id(&self) -> AggregateId[src]

Return ID.

pub fn as_unsealed(&self) -> &'a UnsealedAggregate[src]

Return the unsealed aggregate.

pub fn sealing_data(&self) -> &'a AggregateSealingData[src]

Return sealing data.

pub fn metadata(&self) -> Metadata<'a>[src]

Return metadata.

pub fn unsealed_items(&self) -> &'a [UnsealedAggregateItem][src]

Return unsealed items.

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

Return whether the aggregate is a unit, i.e. has no items.

pub fn size(&self) -> VarSize[src]

Return size.

Trait Implementations

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

impl<'a> Copy for Aggregate<'a>[src]

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

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

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

Auto Trait Implementations

impl<'a> RefUnwindSafe for Aggregate<'a>

impl<'a> Send for Aggregate<'a>

impl<'a> Sync for Aggregate<'a>

impl<'a> Unpin for Aggregate<'a>

impl<'a> UnwindSafe for Aggregate<'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.