pub struct InputSpan {
pub offset: u64,
pub len: u64,
}Expand description
A pointer to a span in the given input.
Fields§
§offset: u64The offset from the beginning of the input where the span begins.
len: u64The length of the span.
Trait Implementations§
Source§impl Ord for InputSpan
impl Ord for InputSpan
Source§impl PartialOrd for InputSpan
impl PartialOrd for InputSpan
impl Copy for InputSpan
impl Eq for InputSpan
impl StructuralPartialEq for InputSpan
Auto Trait Implementations§
impl Freeze for InputSpan
impl RefUnwindSafe for InputSpan
impl Send for InputSpan
impl Sync for InputSpan
impl Unpin for InputSpan
impl UnwindSafe for InputSpan
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