Enum handlebars::Path
source · [−]Expand description
Represents the Json path in templates.
It can be either a local variable like @first
, ../@index
,
or a normal relative path like a/b/c
.
Variants
Relative((Vec<PathSeg>, String))
Local((usize, String, String))
Implementations
Trait Implementations
impl Eq for Path
impl StructuralEq for Path
impl StructuralPartialEq for Path
Auto Trait Implementations
impl RefUnwindSafe for Path
impl Send for Path
impl Sync for Path
impl Unpin for Path
impl UnwindSafe for Path
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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