pub struct ValueSpan {
pub start: usize,
pub end: usize,
}Expand description
Span of a single JSON value in bytes: start offset inclusive,
end offset exclusive. Produced by find_key_value_spans; the caller
may compare raw bytes against a literal without allocating a Value.
Fields§
§start: usize§end: usizeTrait Implementations§
Auto Trait Implementations§
impl Freeze for ValueSpan
impl RefUnwindSafe for ValueSpan
impl Send for ValueSpan
impl Sync for ValueSpan
impl Unpin for ValueSpan
impl UnsafeUnpin for ValueSpan
impl UnwindSafe for ValueSpan
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