Struct xml::common::TextPosition [−][src]
Expand description
Represents a position inside some textual document.
Fields
row: u64
Row, counting from 0
column: u64
Column, counting from 0
Implementations
Creates a new position initialized to the beginning of the document
Advances the position in a line to the next tab position
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Returns the current position or a position corresponding to the object.
Auto Trait Implementations
impl RefUnwindSafe for TextPosition
impl Send for TextPosition
impl Sync for TextPosition
impl Unpin for TextPosition
impl UnwindSafe for TextPosition
Blanket Implementations
Mutably borrows from an owned value. Read more