pub struct InputSpan {
pub start: u32,
pub end: u32,
}Expand description
A span that is only valid within the context of the input text.
Fields§
§start: u32The start of the span.
end: u32The end of the span.
Implementations§
Trait Implementations§
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