pub struct Path<'a>(/* private fields */);Expand description
Where a node sits in a tree: the child indices leading to it from the root.
Attributes are not part of a path. A consumer reporting a bad attribute appends the attribute name to the element’s path itself, because only the consumer knows what it is rejecting.
Implementations§
Trait Implementations§
impl<'a> Copy for Path<'a>
impl<'a> Eq for Path<'a>
impl<'a> StructuralPartialEq for Path<'a>
Auto Trait Implementations§
impl<'a> Freeze for Path<'a>
impl<'a> RefUnwindSafe for Path<'a>
impl<'a> Send for Path<'a>
impl<'a> Sync for Path<'a>
impl<'a> Unpin for Path<'a>
impl<'a> UnsafeUnpin for Path<'a>
impl<'a> UnwindSafe for Path<'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