pub struct LineIdx(pub usize);Expand description
A 0-based line index.
Tuple Fields§
§0: usizeImplementations§
Trait Implementations§
Source§impl Ord for LineIdx
impl Ord for LineIdx
Source§impl PartialOrd for LineIdx
impl PartialOrd for LineIdx
impl Copy for LineIdx
impl Eq for LineIdx
impl StructuralPartialEq for LineIdx
Auto Trait Implementations§
impl Freeze for LineIdx
impl RefUnwindSafe for LineIdx
impl Send for LineIdx
impl Sync for LineIdx
impl Unpin for LineIdx
impl UnsafeUnpin for LineIdx
impl UnwindSafe for LineIdx
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