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 moresource§impl Debug for HelperTemplate
impl Debug for HelperTemplate
source§impl PartialEq<HelperTemplate> for HelperTemplate
impl PartialEq<HelperTemplate> for HelperTemplate
source§fn eq(&self, other: &HelperTemplate) -> bool
fn eq(&self, other: &HelperTemplate) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for HelperTemplate
impl StructuralEq for HelperTemplate
impl StructuralPartialEq for HelperTemplate
Auto Trait Implementations§
impl RefUnwindSafe for HelperTemplate
impl Send for HelperTemplate
impl Sync for HelperTemplate
impl Unpin for HelperTemplate
impl UnwindSafe for HelperTemplate
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more