[][src]Trait lhlist::LookupElemByLabel

pub trait LookupElemByLabel<TargetL> {
    type Elem: ?Sized;
    fn elem(&self) -> &Self::Elem;
}

Lookup a specific element in a list by label.

Associated Types

type Elem: ?Sized

The type of the returned element

Loading content...

Required methods

fn elem(&self) -> &Self::Elem

Returns a reference to the element from the list

Loading content...

Implementors

impl<TargetL, L, T> LookupElemByLabel<TargetL> for Cons<L, T> where
    L: Label + LabelEq<TargetL>,
    T: Member<TargetL>,
    Self: LookupElemByLabelMatch<TargetL, <L as LabelEq<TargetL>>::Output, <T as Member<TargetL>>::Output>, 
[src]

type Elem = Self::Elem

Loading content...