pub struct Span { /* private fields */ }Implementations§
Source§impl Span
impl Span
pub fn new(start: LineColumn, end: LineColumn) -> Self
Trait Implementations§
Source§impl Span for Span
impl Span for Span
type LineColumn = LineColumn
fn line_column(line: usize, column: usize) -> Self::LineColumn
fn start(&self) -> LineColumn
fn end(&self) -> LineColumn
impl Copy for Span
Auto Trait Implementations§
impl Freeze for Span
impl RefUnwindSafe for Span
impl Send for Span
impl Sync for Span
impl Unpin for Span
impl UnsafeUnpin for Span
impl UnwindSafe for Span
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