[][src]Trait agnes::select::SelectFieldByLabel

pub trait SelectFieldByLabel<Label> {
    type Output: DataIndex;
    fn select_field(&self) -> Self::Output;
}

Trait implemented by data structures to provide access to data for a single field.

Associated Types

type Output: DataIndex

The return type for the select_field method.

Loading content...

Required methods

fn select_field(&self) -> Self::Output

Returns an object that provides DataIndex access to the data in the field specified by Label.

Loading content...

Implementors

impl<Fields, Label> SelectFieldByLabel<Label> for DataFrame<Fields> where
    Fields: AssocStorage + Debug,
    Fields::Storage: LookupElemByLabel<Label> + NRows,
    ElemOf<Fields::Storage, Label>: Typed,
    ElemOf<Fields::Storage, Label>: Valued<Value = DataRef<TypeOfElemOf<Fields::Storage, Label>>>,
    TypeOf<ElemOf<Fields::Storage, Label>>: Debug
[src]

type Output = Framed<TypeOf<ElemOf<Fields::Storage, Label>>>

impl<Label, Fields> SelectFieldByLabel<Label> for DataStore<Fields> where
    Fields: AssocStorage,
    Fields::Storage: LookupElemByLabel<Label>,
    ElemOf<Fields::Storage, Label>: Typed,
    ElemOf<Fields::Storage, Label>: Valued<Value = DataRef<TypeOfElemOf<Fields::Storage, Label>>>,
    DataRef<TypeOfElemOf<Fields::Storage, Label>>: DataIndex,
    TypeOfElemOf<Fields::Storage, Label>: Debug
[src]

type Output = DataRef<<<Fields::Storage as LookupElemByLabel<Label>>::Elem as Typed>::DType>

impl<Labels, Frames, Label> SelectFieldByLabel<Label> for DataView<Labels, Frames> where
    Frames: SelectFieldFromLabels<Labels, Label>, 
[src]

type Output = <Frames as SelectFieldFromLabels<Labels, Label>>::Output

Loading content...