[][src]Trait agnes::store::PushBackField

pub trait PushBackField<NewLabel, NewDType> {
    type OutputFields: AssocStorage;
    fn push_back_field(
        self,
        data: FieldData<NewDType>
    ) -> DataStore<Self::OutputFields>; }

Trait for pushing a FieldData onto the back of a DataStore's fields cons-list.

Associated Types

type OutputFields: AssocStorage

FieldCons cons-list after adding field.

Loading content...

Required methods

fn push_back_field(
    self,
    data: FieldData<NewDType>
) -> DataStore<Self::OutputFields>

Push a FieldData onto the back of this store's fields cons-list.

Loading content...

Implementors

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

type OutputFields = PushedBackField<PrevFields, NewLabel, NewDType>

Loading content...