[][src]Trait agnes::view::SelectFieldFromLabels

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

Trait for selecting a field (implementing DataIndex) associated with the label Label from the label lookup list Labels from a type.

Associated Types

type Output: DataIndex

Selected field type.

Loading content...

Required methods

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

Returns an accessor (implementing DataIndex) for the selected field.

Loading content...

Implementors

impl<Labels, Frames, Label> SelectFieldFromLabels<Labels, Label> for Frames where
    Labels: FindFrameDetails<Label>,
    Frames: FindFrame<Labels, Label>,
    FrameOf<Frames, Labels, Label>: SelectFieldByLabel<FrameLabelOf<Labels, Label>>,
    FieldOf<Frames, Labels, Label>: Typed + SelfValued + Clone,
    TypeOf<FieldOf<Frames, Labels, Label>>: Debug
[src]

type Output = FieldOf<Frames, Labels, Label>

Loading content...