Struct handlebars_iron::DirectorySource [] [src]

pub struct DirectorySource {
    pub prefix: String,
    pub suffix: String,
}

Fields

prefix: String suffix: String

Methods

impl DirectorySource
[src]

fn new(prefix: &str, suffix: &str) -> DirectorySource

Trait Implementations

impl Source for DirectorySource
[src]

fn load(&self, reg: &mut Handlebars) -> Result<()SourceError>