pub struct Reading<'a> {
pub matches: Vec<PathMatch<'a>>,
pub empties: Vec<EmptySite>,
}Expand description
Everything a path addresses in a document: the matches in index order, and every empty array a wildcard met.
Fields§
§matches: Vec<PathMatch<'a>>The matches, in index order.
empties: Vec<EmptySite>The empty arrays the wildcards met.
Trait Implementations§
impl<'a> StructuralPartialEq for Reading<'a>
Auto Trait Implementations§
impl<'a> Forget for Reading<'a>
impl<'a> Freeze for Reading<'a>
impl<'a> Move for Reading<'a>
impl<'a> RefUnwindSafe for Reading<'a>
impl<'a> Send for Reading<'a>
impl<'a> Sync for Reading<'a>
impl<'a> Unpin for Reading<'a>
impl<'a> UnsafeUnpin for Reading<'a>
impl<'a> UnwindSafe for Reading<'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