Trait libcantal::Name [] [src]

pub trait Name {
    fn get(&self, key: &str) -> Option<&str>;
fn visit(&self, s: &mut NameVisitor); }

Name of the metric

You may use HashMap<String, String> or BTreeMap<String, String> for the name, but it might be more efficient to have a structure as a name and used static strings as key names instead.

Required Methods

Get item by key

Visit all keys in metric

Implementors