Struct handlebars::BlockParams [−][src]
pub struct BlockParams<'reg> { /* fields omitted */ }
Expand description
A map holds block parameters. The parameter can be either a value or a reference
Implementations
Create a empty block parameter map.
Add a path reference as the parameter. The path
is a vector of path
segments the relative to current block’s base path.
Add a value as parameter.
Trait Implementations
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl<'reg> RefUnwindSafe for BlockParams<'reg>
impl<'reg> Send for BlockParams<'reg>
impl<'reg> Sync for BlockParams<'reg>
impl<'reg> Unpin for BlockParams<'reg>
impl<'reg> UnwindSafe for BlockParams<'reg>
Blanket Implementations
Mutably borrows from an owned value. Read more