pub struct Entry {
pub span: Span,
pub volume: usize,
}Expand description
Code-map entry.
Provides code-mapping metadata about a fragment of JSON value.
Fields§
§span: SpanByte span of the fragment in the original source code.
volume: usizeNumber of sub-fragment (including the fragment itself).
Implementations§
Trait Implementations§
impl Copy for Entry
impl Eq for Entry
Source§impl Ord for Entry
impl Ord for Entry
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for Entry
impl PartialOrd for Entry
impl StructuralPartialEq for Entry
Auto Trait Implementations§
impl Freeze for Entry
impl RefUnwindSafe for Entry
impl Send for Entry
impl Sync for Entry
impl Unpin for Entry
impl UnsafeUnpin for Entry
impl UnwindSafe for Entry
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