Struct xmlparser::ErrorPos [] [src]

pub struct ErrorPos {
    pub row: usize,
    pub col: usize,
}

Position of the error.

Position indicates row/line and column. Starting positions is 1:1.

Fields

Methods

impl ErrorPos
[src]

[src]

Constructs a new error position.

Trait Implementations

impl Clone for ErrorPos
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for ErrorPos
[src]

impl PartialEq for ErrorPos
[src]

[src]

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

[src]

This method tests for !=.

impl Debug for ErrorPos
[src]

[src]

Formats the value using the given formatter.

impl Display for ErrorPos
[src]

[src]

Formats the value using the given formatter. Read more