pub enum LineSpec {
Single(usize),
Range(usize, usize),
}Expand description
A line specification: either a single line or a range.
Variants§
Implementations§
Trait Implementations§
impl Copy for LineSpec
impl Eq for LineSpec
impl StructuralPartialEq for LineSpec
Auto Trait Implementations§
impl Freeze for LineSpec
impl RefUnwindSafe for LineSpec
impl Send for LineSpec
impl Sync for LineSpec
impl Unpin for LineSpec
impl UnsafeUnpin for LineSpec
impl UnwindSafe for LineSpec
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