Struct handlebars::Helper
[-] [+]
[src]
pub struct Helper<'a> { // some fields omitted }
pub struct Helper<'a> { // some fields omitted }
impl<'a> Helper<'a>
fn name(&self) -> &String
fn params(&self) -> &Vec<String>
fn param(&self, idx: usize) -> Option<&String>
fn hash(&self) -> &BTreeMap<String, Json>
fn hash_get(&self, key: &str) -> Option<&Json>
fn template(&self) -> Option<&Template>
fn inverse(&self) -> Option<&Template>
fn is_block(&self) -> bool
Prefix searches with a type followed by a colon (e.g.
fn:
) to restrict the search to a given type.
Accepted types are: fn
, mod
,
struct
, enum
,
trait
, typedef
(or
tdef
).