Enum rocket_dyn_templates::handlebars::template::Parameter [−][src]
pub enum Parameter { Name(String), Path(Path), Literal(Value), Subexpression(Subexpression), }
Variants
Name(String)
Path(Path)
Literal(Value)
Subexpression(Subexpression)
Implementations
pub fn expand_as_name<'reg, 'rc>(
&'reg self,
registry: &'reg Registry<'reg>,
ctx: &'rc Context,
rc: &mut RenderContext<'reg, 'rc>
) -> Result<Cow<'reg, str>, RenderError> where
'reg: 'rc,
[src]pub fn expand<'reg, 'rc>(
&'reg self,
registry: &'reg Registry<'reg>,
ctx: &'rc Context,
rc: &mut RenderContext<'reg, 'rc>
) -> Result<PathAndJson<'reg, 'rc>, RenderError> where
'reg: 'rc,
[src]Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Parameter
impl UnwindSafe for Parameter
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