pub struct Fault<N> {
pub node: N,
pub kind: FaultKind,
}Expand description
Original XML location, without a synthetic document byte offset.
Fields§
§node: NOriginal offending element, attribute owner or text node.
kind: FaultKindExact structural problem.
Trait Implementations§
Auto Trait Implementations§
impl<N> Forget for Fault<N>
impl<N> Freeze for Fault<N>where
N: Freeze,
impl<N> RefUnwindSafe for Fault<N>where
N: RefUnwindSafe,
impl<N> Send for Fault<N>where
N: Send,
impl<N> Sync for Fault<N>where
N: Sync,
impl<N> Unpin for Fault<N>where
N: Unpin,
impl<N> UnsafeUnpin for Fault<N>where
N: UnsafeUnpin,
impl<N> UnwindSafe for Fault<N>where
N: UnwindSafe,
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