Struct handlebars::template::HelperTemplate
source · pub struct HelperTemplate {
pub name: String,
pub params: Vec<Parameter>,
pub hash: BTreeMap<String, Parameter>,
pub block_param: Option<BlockParam>,
pub template: Option<Template>,
pub inverse: Option<Template>,
pub block: bool,
}
Fields
name: String
params: Vec<Parameter>
hash: BTreeMap<String, Parameter>
block_param: Option<BlockParam>
template: Option<Template>
inverse: Option<Template>
block: bool
Trait Implementations
sourceimpl Clone for HelperTemplate
impl Clone for HelperTemplate
sourcefn clone(&self) -> HelperTemplate
fn clone(&self) -> HelperTemplate
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for HelperTemplate
impl Debug for HelperTemplate
sourceimpl PartialEq<HelperTemplate> for HelperTemplate
impl PartialEq<HelperTemplate> for HelperTemplate
sourcefn eq(&self, other: &HelperTemplate) -> bool
fn eq(&self, other: &HelperTemplate) -> bool
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more