[][src]Trait agnes::label::StrLabels

pub trait StrLabels {
    fn labels<'a>() -> VecDeque<&'a str>;

    fn labels_vec<'a>() -> Vec<&'a str> { ... }
}

Trait for generating a collection (VecDeque) of string labels for the labels associated with the Self cons-list.

Required methods

fn labels<'a>() -> VecDeque<&'a str>

Returns the labels (as strings) for the labels associated with Self.

Loading content...

Provided methods

fn labels_vec<'a>() -> Vec<&'a str>

Returns the labels (as strings) for the labels associated with Self, collected in a Vec struct.

Loading content...

Implementors

impl StrLabels for Nil[src]

fn labels_vec<'a>() -> Vec<&'a str>[src]

impl<L, V, T> StrLabels for LVCons<L, V, T> where
    L: LabelName,
    T: StrLabels
[src]

fn labels_vec<'a>() -> Vec<&'a str>[src]

Loading content...