Struct svgdom::ErrorPos
[−]
pub struct ErrorPos { pub row: usize, pub col: usize, }
The position of the error.
Position indicates row/line and column. Starting positions is 1:1.
Fields
row: usize
col: usize
Methods
impl ErrorPos
Trait Implementations
impl Clone for ErrorPos
fn clone(&self) -> ErrorPos
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Copy for ErrorPos
impl PartialEq<ErrorPos> for ErrorPos
fn eq(&self, __arg_0: &ErrorPos) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &ErrorPos) -> bool
This method tests for !=
.