Struct handlebars::template::Subexpression [−][src]
pub struct Subexpression { pub element: Box<TemplateElement>, }
Fields
element: Box<TemplateElement>
Methods
impl Subexpression
[src]
impl Subexpression
pub fn new(
name: String,
params: &[Parameter],
hash: &BTreeMap<String, Parameter>
) -> Subexpression
[src]
pub fn new(
name: String,
params: &[Parameter],
hash: &BTreeMap<String, Parameter>
) -> Subexpression
pub fn is_helper(&self) -> bool
[src]
pub fn is_helper(&self) -> bool
pub fn as_element(&self) -> &TemplateElement
[src]
pub fn as_element(&self) -> &TemplateElement
pub fn name(&self) -> &str
[src]
pub fn name(&self) -> &str
pub fn params(&self) -> Option<&Vec<Parameter>>
[src]
pub fn params(&self) -> Option<&Vec<Parameter>>
pub fn hash(&self) -> Option<&BTreeMap<String, Parameter>>
[src]
pub fn hash(&self) -> Option<&BTreeMap<String, Parameter>>
Trait Implementations
impl PartialEq for Subexpression
[src]
impl PartialEq for Subexpression
fn eq(&self, other: &Subexpression) -> bool
[src]
fn eq(&self, other: &Subexpression) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Subexpression) -> bool
[src]
fn ne(&self, other: &Subexpression) -> bool
This method tests for !=
.
impl Clone for Subexpression
[src]
impl Clone for Subexpression
fn clone(&self) -> Subexpression
[src]
fn clone(&self) -> Subexpression
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for Subexpression
[src]
impl Debug for Subexpression
Auto Trait Implementations
impl Send for Subexpression
impl Send for Subexpression
impl Sync for Subexpression
impl Sync for Subexpression