Struct handlebars::template::Subexpression [−][src]
pub struct Subexpression { pub element: Box<TemplateElement>, }
Fields
element: Box<TemplateElement>
Implementations
impl Subexpression
[src]
impl Subexpression
[src]pub fn new(
name: Parameter,
params: Vec<Parameter>,
hash: HashMap<String, Parameter>
) -> Subexpression
[src]
name: Parameter,
params: Vec<Parameter>,
hash: HashMap<String, Parameter>
) -> Subexpression
pub fn is_helper(&self) -> bool
[src]
pub fn as_element(&self) -> &TemplateElement
[src]
pub fn name(&self) -> &str
[src]
pub fn params(&self) -> Option<&Vec<Parameter>>
[src]
pub fn hash(&self) -> Option<&HashMap<String, Parameter>>
[src]
Trait Implementations
impl Clone for Subexpression
[src]
impl Clone for Subexpression
[src]fn clone(&self) -> Subexpression
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl PartialEq<Subexpression> for Subexpression
[src]
impl PartialEq<Subexpression> for Subexpression
[src]