Struct rio_api::parser::LineBytePosition
source ·
[−]pub struct LineBytePosition { /* fields omitted */ }
Implementations
Creates a new position where line_number
and byte_number
are both starting from 1
The line number where the error occurred starting from 0
The byte number where the error occurred starting from 0
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for LineBytePosition
impl Send for LineBytePosition
impl Sync for LineBytePosition
impl Unpin for LineBytePosition
impl UnwindSafe for LineBytePosition
Blanket Implementations
Mutably borrows from an owned value. Read more