pub struct ErrorPos {
pub row: usize,
pub col: usize,
}Expand description
Position of an error.
Position indicates row/line and column. Starting positions is 1:1.
Fields§
§row: usize§col: usizeImplementations§
Trait Implementations§
impl Copy for ErrorPos
impl StructuralPartialEq for ErrorPos
Auto Trait Implementations§
impl Freeze for ErrorPos
impl RefUnwindSafe for ErrorPos
impl Send for ErrorPos
impl Sync for ErrorPos
impl Unpin for ErrorPos
impl UnwindSafe for ErrorPos
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