[][src]Trait agnes::store::PushBackClonedFromValueIter

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

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

Associated Types

type OutputFields: AssocStorage

FieldCons cons-list after adding field.

Loading content...

Required methods

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

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

Loading content...

Implementors

impl<PrevFields, NewLabel, NewDType> PushBackClonedFromValueIter<NewLabel, NewDType> for DataStore<PrevFields> where
    PrevFields: AssocStorage + PushBack<FieldSpec<NewLabel, NewDType>>,
    PushedBackField<PrevFields, NewLabel, NewDType>: AssocStorage,
    PrevFields::Storage: PushBack<NewFieldStorage<NewLabel, NewDType>, Output = <PushedBackField<PrevFields, NewLabel, NewDType> as AssocStorage>::Storage>,
    NewLabel: Debug,
    NewDType: Default + Clone + Debug
[src]

type OutputFields = PushedBackField<PrevFields, NewLabel, NewDType>

Loading content...