Trait agnes::select::SelectField [−][src]
pub trait SelectField<'a, T, DTypes> where
DTypes: DTypeList,
T: 'a + DataType<DTypes>, { type Output: DataIndex<DTypes, DType = T>; fn select(&'a self, ident: FieldIdent) -> Result<Self::Output>
where
DTypes: AssocTypes,
DTypes::Storage: TypeSelector<DTypes, T>; }
Trait implemented by data structures to provide access to data for a single field.
Associated Types
Required Methods
fn select(&'a self, ident: FieldIdent) -> Result<Self::Output> where
DTypes: AssocTypes,
DTypes::Storage: TypeSelector<DTypes, T>,
DTypes: AssocTypes,
DTypes::Storage: TypeSelector<DTypes, T>,
Returns an object that provides DataIndex access to the
data in the field specified by ident
.
Implementors
impl<'a, DTypes, T> SelectField<'a, T, DTypes> for DataStore<DTypes> where
T: 'static + DataType<DTypes>,
DTypes: 'a + DTypeList, type Output = OwnedOrRef<'a, DTypes, T>;impl<'a, DTypes, T> SelectField<'a, T, DTypes> for DataView<DTypes> where
T: 'static + DataType<DTypes>,
DTypes: 'a + DTypeList,
DTypes::Storage: MaxLen<DTypes>, type Output = Framed<'a, DTypes, T>;impl<'a, DTypes, T> SelectField<'a, T, DTypes> for DataFrame<DTypes> where
DTypes: 'a + DTypeList,
DTypes::Storage: 'a + MaxLen<DTypes>,
T: 'static + DataType<DTypes>, type Output = Framed<'a, DTypes, T>;