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: Span
Byte span of the fragment in the original source code.
volume: usize
Number of sub-fragment (including the fragment itself).
Implementations§
Trait Implementations§
Source§impl Ord for Entry
impl Ord for Entry
Source§impl PartialOrd for Entry
impl PartialOrd for Entry
impl Copy for Entry
impl Eq 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 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