Struct rocket_dyn_templates::tera::ast::MacroCall
source · pub struct MacroCall {
pub namespace: String,
pub name: String,
pub args: HashMap<String, Expr, RandomState>,
}
Expand description
A call to a namespaced macro macros::my_macro()
Fields§
§namespace: String
The namespace we’re looking for that macro in
name: String
The macro name
args: HashMap<String, Expr, RandomState>
The args for that macro: name -> value
Trait Implementations§
source§impl PartialEq<MacroCall> for MacroCall
impl PartialEq<MacroCall> for MacroCall
impl StructuralPartialEq for MacroCall
Auto Trait Implementations§
impl RefUnwindSafe for MacroCall
impl Send for MacroCall
impl Sync for MacroCall
impl Unpin for MacroCall
impl UnwindSafe for MacroCall
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.