Struct handlebars::template::ExpressionSpec
source · pub struct ExpressionSpec {
pub name: Parameter,
pub params: Vec<Parameter>,
pub hash: HashMap<String, Parameter>,
pub block_param: Option<BlockParam>,
pub omit_pre_ws: bool,
pub omit_pro_ws: bool,
}
Fields§
§name: Parameter
§params: Vec<Parameter>
§hash: HashMap<String, Parameter>
§block_param: Option<BlockParam>
§omit_pre_ws: bool
§omit_pro_ws: bool
Trait Implementations§
source§impl Clone for ExpressionSpec
impl Clone for ExpressionSpec
source§fn clone(&self) -> ExpressionSpec
fn clone(&self) -> ExpressionSpec
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 ExpressionSpec
impl Debug for ExpressionSpec
source§impl PartialEq<ExpressionSpec> for ExpressionSpec
impl PartialEq<ExpressionSpec> for ExpressionSpec
source§fn eq(&self, other: &ExpressionSpec) -> bool
fn eq(&self, other: &ExpressionSpec) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ExpressionSpec
impl StructuralEq for ExpressionSpec
impl StructuralPartialEq for ExpressionSpec
Auto Trait Implementations§
impl RefUnwindSafe for ExpressionSpec
impl Send for ExpressionSpec
impl Sync for ExpressionSpec
impl Unpin for ExpressionSpec
impl UnwindSafe for ExpressionSpec
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