pub struct Event<'a> {
pub matched: Match<'a>,
pub span: Span,
pub pointer: Option<&'a JsonPointer<'a>>,
}
Expand description
An event produced by the parser during a parse
Fields§
§matched: Match<'a>
The Match associated with the event
span: Span
§pointer: Option<&'a JsonPointer<'a>>
Optional JsonPointer information relating to the event
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Event<'a>
impl<'a> RefUnwindSafe for Event<'a>
impl<'a> Send for Event<'a>
impl<'a> Sync for Event<'a>
impl<'a> Unpin for Event<'a>
impl<'a> UnwindSafe for Event<'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