Struct rocket_dyn_templates::tera::ast::MathExpr
source · pub struct MathExpr {
pub lhs: Box<Expr, Global>,
pub rhs: Box<Expr, Global>,
pub operator: MathOperator,
}
Expand description
A mathematical expression
Fields§
§lhs: Box<Expr, Global>
The left hand side of the expression
rhs: Box<Expr, Global>
The right hand side of the expression
operator: MathOperator
The operator used
Trait Implementations§
source§impl PartialEq<MathExpr> for MathExpr
impl PartialEq<MathExpr> for MathExpr
impl StructuralPartialEq for MathExpr
Auto Trait Implementations§
impl RefUnwindSafe for MathExpr
impl Send for MathExpr
impl Sync for MathExpr
impl Unpin for MathExpr
impl UnwindSafe for MathExpr
Blanket Implementations§
§impl<'a, T> AsTaggedExplicit<'a> for Twhere
T: 'a,
impl<'a, T> AsTaggedExplicit<'a> for Twhere T: 'a,
§impl<'a, T> AsTaggedImplicit<'a> for Twhere
T: 'a,
impl<'a, T> AsTaggedImplicit<'a> for Twhere T: 'a,
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> IntoCollection<T> for T
impl<T> IntoCollection<T> for T
§fn into_collection<A>(self) -> SmallVec<A>where
A: Array<Item = T>,
fn into_collection<A>(self) -> SmallVec<A>where A: Array<Item = T>,
Converts
self
into a collection.