[][src]Trait agnes::frame::RotateFields

pub trait RotateFields<FramedStore> {
    type DType;
    type Output: DataIndex<DType = Self::DType>;
    fn add_to_rotation(store: &FramedStore) -> VecDeque<Self::Output>;
}

Trait for generating a collection of objects implementing DataIndex with the same underlying type. Used for rotating through source fields in a Melted field.

Associated Types

type DType

Underlying data type of the source fields

type Output: DataIndex<DType = Self::DType>

Type of the individual DataIndex-implementing objects returned.

Loading content...

Required methods

fn add_to_rotation(store: &FramedStore) -> VecDeque<Self::Output>

Add data pointed to by this type to the data collection, drawing data from the provided DataStore.

Loading content...

Implementors

impl<FramedStore> RotateFields<FramedStore> for Nil[src]

type DType = usize

type Output = DataRef<usize>

impl<FramedStore, Label, Tail> RotateFields<FramedStore> for StoreFieldCons<Label, Tail> where
    FramedStore: SelectFieldByLabel<Label>,
    Tail: RotateFieldsTerm<FramedStore, <FramedStore as SelectFieldByLabel<Label>>::DType, <FramedStore as SelectFieldByLabel<Label>>::Output>, 
[src]

type DType = <FramedStore as SelectFieldByLabel<Label>>::DType

type Output = <FramedStore as SelectFieldByLabel<Label>>::Output

Loading content...