pub struct PathMatch<'a> {
pub trail: Vec<TrailStep>,
pub value: &'a Value,
}Expand description
One location a path addresses: the trail reaching it and the value there.
Fields§
§trail: Vec<TrailStep>The concrete location.
value: &'a ValueThe value found there.
Trait Implementations§
impl<'a> StructuralPartialEq for PathMatch<'a>
Auto Trait Implementations§
impl<'a> Forget for PathMatch<'a>
impl<'a> Freeze for PathMatch<'a>
impl<'a> Move for PathMatch<'a>
impl<'a> RefUnwindSafe for PathMatch<'a>
impl<'a> Send for PathMatch<'a>
impl<'a> Sync for PathMatch<'a>
impl<'a> Unpin for PathMatch<'a>
impl<'a> UnsafeUnpin for PathMatch<'a>
impl<'a> UnwindSafe for PathMatch<'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