Enum mustache::Data [] [src]

pub enum Data {
    StrVal(String),
    Bool(bool),
    VecVal(Vec<Data>),
    Map(HashMap<StringData>),
    Fun(RefCell<Box<FnMut(String) -> String + Send>>),
}

Variants

StrVal(String)Bool(bool)VecVal(Vec<Data>)Map(HashMap<StringData>)Fun(RefCell<Box<FnMut(String) -> String + Send>>)

Trait Implementations

impl<'a> PartialEq for Data
[src]

fn eq(&self, other: &Data) -> bool

This method tests for self and other values to be equal, and is used by ==. Read more

fn ne(&self, other: &Rhs) -> bool
1.0.0

This method tests for !=.

impl<'a> Debug for Data
[src]

fn fmt(&self, f: &mut Formatter) -> Result

Formats the value using the given formatter.