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

Methods

impl ErrorPos

Constructs a new error position.

Trait Implementations

impl Clone for ErrorPos

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for ErrorPos

impl PartialEq<ErrorPos> for ErrorPos

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Debug for ErrorPos

Formats the value using the given formatter.