Trait agnes::select::Field[][src]

pub trait Field<DTypes> where
    DTypes: DTypeList
{ fn field<'a, T: 'a + DataType<DTypes>, I: Into<FieldIdent>>(
        &'a self,
        ident: I
    ) -> Result<Selection<DTypes, Self::Output, T>>
    where
        Self: SelectField<'a, T, DTypes>,
        DTypes: 'a + AssocTypes,
        DTypes::Storage: TypeSelector<DTypes, T>
, { ... } }

Trait for accessing the data of a single field as a Selection struct which implements DataIndex.

Provided Methods

Returns a Selection struct containing the data for the field specified by ident.

This method is a convenience method for calling the select method on the SelectField trait.

Implementors