[][src]Trait agnes::store::PushFrontFromValueIter

pub trait PushFrontFromValueIter<NewLabel, NewDType> {
    type OutputFields: AssocStorage;
    fn push_front_from_value_iter<IntoIter, Iter>(
        self,
        iter: IntoIter
    ) -> DataStore<Self::OutputFields>
    where
        Iter: Iterator<Item = Value<NewDType>>,
        IntoIter: IntoIterator<IntoIter = Iter, Item = Value<NewDType>>
; }

Trait for pushing a field onto the front of a DataStore's fields cons-list using data from an iterator of Value objects.

Associated Types

type OutputFields: AssocStorage

FieldCons cons-list after adding field.

Loading content...

Required methods

fn push_front_from_value_iter<IntoIter, Iter>(
    self,
    iter: IntoIter
) -> DataStore<Self::OutputFields> where
    Iter: Iterator<Item = Value<NewDType>>,
    IntoIter: IntoIterator<IntoIter = Iter, Item = Value<NewDType>>, 

Push a field onto the front of this store's fields cons-list using data from an iterator of Value objects.

Loading content...

Implementors

impl<PrevFields, NewLabel, NewDType> PushFrontFromValueIter<NewLabel, NewDType> for DataStore<PrevFields> where
    PrevFields: AssocStorage + PushFront<FieldSpec<NewLabel, NewDType>>,
    PushedFrontField<PrevFields, NewLabel, NewDType>: AssocStorage,
    PrevFields::Storage: PushFront<NewFieldStorage<NewLabel, NewDType>, Output = <PushedFrontField<PrevFields, NewLabel, NewDType> as AssocStorage>::Storage>,
    NewLabel: Debug,
    NewDType: Default + Debug
[src]

type OutputFields = PushedFrontField<PrevFields, NewLabel, NewDType>

Loading content...