pub struct SpanBounds {
pub start: LineCol,
pub end: LineCol,
}Expand description
The line and col indices of the start and end of the span.
Fields§
§start: LineColThe start of the Span expressed as line and column index.
end: LineColThe end of the Span expressed as line and column index.
Trait Implementations§
Source§impl Clone for SpanBounds
impl Clone for SpanBounds
Source§fn clone(&self) -> SpanBounds
fn clone(&self) -> SpanBounds
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for SpanBounds
impl RefUnwindSafe for SpanBounds
impl Send for SpanBounds
impl Sync for SpanBounds
impl Unpin for SpanBounds
impl UnwindSafe for SpanBounds
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