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
sourceimpl Clone for ExpressionSpec
impl Clone for ExpressionSpec
sourcefn clone(&self) -> ExpressionSpec
fn clone(&self) -> ExpressionSpec
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 more
sourceimpl Debug for ExpressionSpec
impl Debug for ExpressionSpec
sourceimpl PartialEq<ExpressionSpec> for ExpressionSpec
impl PartialEq<ExpressionSpec> for ExpressionSpec
sourcefn 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 ==
. Read more
sourcefn ne(&self, other: &ExpressionSpec) -> bool
fn ne(&self, other: &ExpressionSpec) -> bool
This method tests for !=
.
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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