pub struct LineColumnRange {
pub start: LineColumn,
pub end: LineColumn,
}Expand description
The human-facing opening and closing positions of a source span.
Like the underlying byte range, this range is half-open: end is the
position immediately after the final character.
Fields§
§start: LineColumnThe position at which the span opens.
end: LineColumnThe position immediately after the span closes.
Trait Implementations§
Source§impl Clone for LineColumnRange
impl Clone for LineColumnRange
Source§fn clone(&self) -> LineColumnRange
fn clone(&self) -> LineColumnRange
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for LineColumnRange
Source§impl Debug for LineColumnRange
impl Debug for LineColumnRange
Source§impl Display for LineColumnRange
impl Display for LineColumnRange
impl Eq for LineColumnRange
Source§impl Hash for LineColumnRange
impl Hash for LineColumnRange
Source§impl PartialEq for LineColumnRange
impl PartialEq for LineColumnRange
impl StructuralPartialEq for LineColumnRange
Auto Trait Implementations§
impl Freeze for LineColumnRange
impl RefUnwindSafe for LineColumnRange
impl Send for LineColumnRange
impl Sync for LineColumnRange
impl Unpin for LineColumnRange
impl UnsafeUnpin for LineColumnRange
impl UnwindSafe for LineColumnRange
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