Struct cryogen_prelude::VarMapping
[−]
[src]
pub struct VarMapping<'a> { /* fields omitted */ }
Defines a mapping between a template variable, and the file to populate it.
Methods
impl<'a> VarMapping<'a>
[src]
fn from_str(s: &'a str) -> Result<VarMapping<'a>, &'static str>
Builds a VarMapping from a String
fn from_str_panic(s: &'a str) -> VarMapping<'a>
Builds a VarMapping from a String, and panics if it fails.