pub struct LineRange {
pub start: u32,
pub end: u32,
}Expand description
A 1-based inclusive line range within a source file.
Fields§
§start: u32§end: u32Trait Implementations§
Auto Trait Implementations§
impl Freeze for LineRange
impl RefUnwindSafe for LineRange
impl Send for LineRange
impl Sync for LineRange
impl Unpin for LineRange
impl UnsafeUnpin for LineRange
impl UnwindSafe for LineRange
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