pub struct LineCol {
pub line: u32,
pub column: u32,
}Expand description
A line and a column, both counted from 1.
Fields§
§line: u32§column: u32Trait Implementations§
impl Copy for LineCol
impl Eq for LineCol
Source§impl Ord for LineCol
impl Ord for LineCol
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for LineCol
impl PartialOrd for LineCol
impl StructuralPartialEq for LineCol
Auto Trait Implementations§
impl Forget for LineCol
impl Freeze for LineCol
impl Move for LineCol
impl RefUnwindSafe for LineCol
impl Send for LineCol
impl Sync for LineCol
impl Unpin for LineCol
impl UnsafeUnpin for LineCol
impl UnwindSafe for LineCol
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