[−][src]Enum handlebars::template::Parameter
Variants
Name(String)
Literal(Json)
Subexpression(Subexpression)
Implementations
impl Parameter
[src]
pub fn expand_as_name<'reg: 'rc, 'rc>(
&'reg self,
registry: &'reg Registry,
ctx: &'rc Context,
rc: &mut RenderContext<'reg>
) -> Result<String, RenderError>
[src]
&'reg self,
registry: &'reg Registry,
ctx: &'rc Context,
rc: &mut RenderContext<'reg>
) -> Result<String, RenderError>
pub fn expand<'reg: 'rc, 'rc>(
&'reg self,
registry: &'reg Registry,
ctx: &'rc Context,
rc: &mut RenderContext<'reg>
) -> Result<PathAndJson<'reg, 'rc>, RenderError>
[src]
&'reg self,
registry: &'reg Registry,
ctx: &'rc Context,
rc: &mut RenderContext<'reg>
) -> Result<PathAndJson<'reg, 'rc>, RenderError>
impl Parameter
[src]
pub fn into_name(self) -> Option<String>
[src]
pub fn parse(s: &str) -> Result<Parameter, TemplateError>
[src]
Trait Implementations
impl Clone for Parameter
[src]
impl Debug for Parameter
[src]
impl PartialEq<Parameter> for Parameter
[src]
impl StructuralPartialEq for Parameter
[src]
Auto Trait Implementations
impl RefUnwindSafe for Parameter
impl Send for Parameter
impl Sync for Parameter
impl Unpin for Parameter
impl UnwindSafe for Parameter
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,