Struct handlebars::PathAndJson
source · pub struct PathAndJson<'reg: 'rc, 'rc> { /* private fields */ }
Expand description
Json wrapper that holds the Json value and reference path information
Implementations
sourceimpl<'reg: 'rc, 'rc> PathAndJson<'reg, 'rc>
impl<'reg: 'rc, 'rc> PathAndJson<'reg, 'rc>
pub fn new(
path: Option<String>,
value: ScopedJson<'reg, 'rc>
) -> PathAndJson<'reg, 'rc>
Trait Implementations
Auto Trait Implementations
impl<'reg, 'rc> RefUnwindSafe for PathAndJson<'reg, 'rc>
impl<'reg, 'rc> Send for PathAndJson<'reg, 'rc>
impl<'reg, 'rc> Sync for PathAndJson<'reg, 'rc>
impl<'reg, 'rc> Unpin for PathAndJson<'reg, 'rc>
impl<'reg, 'rc> UnwindSafe for PathAndJson<'reg, 'rc>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more