Struct handlebars::template::HelperTemplate
source · pub struct HelperTemplate {
pub name: Parameter,
pub params: Vec<Parameter>,
pub hash: HashMap<String, Parameter>,
pub block_param: Option<BlockParam>,
pub template: Option<Template>,
pub inverse: Option<Template>,
pub block: bool,
}
Fields§
§name: Parameter
§params: Vec<Parameter>
§hash: HashMap<String, Parameter>
§block_param: Option<BlockParam>
§template: Option<Template>
§inverse: Option<Template>
§block: bool
Implementations§
source§impl HelperTemplate
impl HelperTemplate
pub fn new(exp: ExpressionSpec, block: bool) -> HelperTemplate
Trait Implementations§
source§impl Clone for HelperTemplate
impl Clone for HelperTemplate
source§fn clone(&self) -> HelperTemplate
fn clone(&self) -> HelperTemplate
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more