Enum handlebars::ScopedJson [−][src]
A JSON wrapper designed for handlebars internal use case
- Constant: the JSON value hardcoded into template
- Context: the JSON value referenced in your provided data context
- Derived: the owned JSON value computed during rendering process
Variants
Constant(&'reg Json)
Derived(Json)
Context(&'rc Json)
Methods
impl<'reg: 'rc, 'rc> ScopedJson<'reg, 'rc>
[src]
impl<'reg: 'rc, 'rc> ScopedJson<'reg, 'rc>
Trait Implementations
impl<'reg: 'rc, 'rc> Debug for ScopedJson<'reg, 'rc>
[src]
impl<'reg: 'rc, 'rc> Debug for ScopedJson<'reg, 'rc>
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl<'reg: 'rc, 'rc> From<Json> for ScopedJson<'reg, 'rc>
[src]
impl<'reg: 'rc, 'rc> From<Json> for ScopedJson<'reg, 'rc>
fn from(v: Json) -> ScopedJson<'reg, 'rc>
[src]
fn from(v: Json) -> ScopedJson<'reg, 'rc>
Performs the conversion.
Auto Trait Implementations
impl<'reg, 'rc> Send for ScopedJson<'reg, 'rc>
impl<'reg, 'rc> Send for ScopedJson<'reg, 'rc>
impl<'reg, 'rc> Sync for ScopedJson<'reg, 'rc>
impl<'reg, 'rc> Sync for ScopedJson<'reg, 'rc>