Struct twig::loader::ArrayLoader [] [src]

pub struct ArrayLoader {
    // some fields omitted
}

Methods

impl ArrayLoader

fn new(sources: HashMap<String, String>) -> ArrayLoader

Trait Implementations

impl Loader for ArrayLoader

fn get_source(&self, name: &str) -> Result<String>

Derived Implementations

impl Debug for ArrayLoader

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