Struct line_index::LineCol
source · pub struct LineCol {
pub line: u32,
pub col: u32,
}
Expand description
(line, column)
information in the native, UTF-8 encoding.
Fields§
§line: u32
Zero-based.
col: u32
Zero-based UTF-8 offset.
Trait Implementations§
source§impl PartialEq for LineCol
impl PartialEq for LineCol
impl Copy for LineCol
impl Eq for LineCol
impl StructuralEq for LineCol
impl StructuralPartialEq for LineCol
Auto Trait Implementations§
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