[][src]Trait from_map::FromMap

pub trait FromMap: Default {
    type Value;
    fn with_map(&mut self, input: &HashMap<&'static str, Self::Value>);

#[must_use]
    fn from_map(input: &HashMap<&'static str, Self::Value>) -> Self { ... }
fn as_map(&self) -> HashMap<&'static str, Self::Value> { ... } }

Associated Types

type Value

Loading content...

Required methods

fn with_map(&mut self, input: &HashMap<&'static str, Self::Value>)

Loading content...

Provided methods

#[must_use] fn from_map(input: &HashMap<&'static str, Self::Value>) -> Self

fn as_map(&self) -> HashMap<&'static str, Self::Value>

Loading content...

Implementors

Loading content...