pub struct Located<'a> {
pub steps: Vec<PathStep>,
pub value: &'a Value,
}Expand description
A node a path resolved to, with the structural route that reached it.
Fields§
§steps: Vec<PathStep>Object keys and array levels from the root to value.
value: &'a ValueThe node itself.
Trait Implementations§
impl<'a> StructuralPartialEq for Located<'a>
Auto Trait Implementations§
impl<'a> Forget for Located<'a>
impl<'a> Freeze for Located<'a>
impl<'a> Move for Located<'a>
impl<'a> RefUnwindSafe for Located<'a>
impl<'a> Send for Located<'a>
impl<'a> Sync for Located<'a>
impl<'a> Unpin for Located<'a>
impl<'a> UnsafeUnpin for Located<'a>
impl<'a> UnwindSafe for Located<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more