Struct rocket_dyn_templates::tera::ast::Test [−][src]
pub struct Test { pub ident: String, pub negated: bool, pub name: String, pub args: Vec<Expr, Global>, }
Expand description
A test node if my_var is odd
Fields
ident: String
Which variable is evaluated
negated: bool
Is it using not
?
name: String
Name of the test
args: Vec<Expr, Global>
Any optional arg given to the test
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Test
impl UnwindSafe for Test
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
pub fn into_collection<A>(self) -> SmallVec<A> where
A: Array<Item = T>,
pub fn into_collection<A>(self) -> SmallVec<A> where
A: Array<Item = T>,
Converts self
into a collection.
pub fn vzip(self) -> V