pub struct JsonEvent<'a> {
pub token: JsonToken<'a>,
pub range: Range<usize>,
}Fields§
§token: JsonToken<'a>§range: Range<usize>Byte offsets in the original text, including quotes or a container delimiter.
Trait Implementations§
impl<'a> Eq for JsonEvent<'a>
impl<'a> StructuralPartialEq for JsonEvent<'a>
Auto Trait Implementations§
impl<'a> Freeze for JsonEvent<'a>
impl<'a> RefUnwindSafe for JsonEvent<'a>
impl<'a> Send for JsonEvent<'a>
impl<'a> Sync for JsonEvent<'a>
impl<'a> Unpin for JsonEvent<'a>
impl<'a> UnsafeUnpin for JsonEvent<'a>
impl<'a> UnwindSafe for JsonEvent<'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