pub struct LineCol {
pub line: usize,
pub col: usize,
}
Expand description
Representation of a position within a stream.
Fields§
§line: usize
Line number.
col: usize
Column number.
Trait Implementations§
impl Copy for LineCol
impl Eq for LineCol
impl StructuralPartialEq for LineCol
Auto Trait Implementations§
impl Freeze for LineCol
impl RefUnwindSafe for LineCol
impl Send for LineCol
impl Sync for LineCol
impl Unpin 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