pub struct SMRange {
pub start: SMLoc,
pub end: SMLoc,
}Expand description
A half-open range of source locations [start, end) within one buffer.
Fields§
§start: SMLoc§end: SMLocImplementations§
Trait Implementations§
impl Copy for SMRange
impl Eq for SMRange
impl StructuralPartialEq for SMRange
Auto Trait Implementations§
impl Freeze for SMRange
impl RefUnwindSafe for SMRange
impl Send for SMRange
impl Sync for SMRange
impl Unpin for SMRange
impl UnsafeUnpin for SMRange
impl UnwindSafe for SMRange
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