Struct twig::mold::Basket [] [src]

pub struct Basket<'c, T> {
    pub map: HashMap<&'c str, T>,
    // some fields omitted
}

Fields

map

Methods

impl<'c, T> Basket<'c, T> where T: Eq + Clone

fn new<'r, N: Fn(T) -> T + 'static>(initial: T, next: N) -> Basket<'r, T>

fn assign_space(&mut self, name: &'c str) -> T

fn get(&self, name: &str) -> Option<T>