[−][src]Trait xml::common::Position
Get the position in the document corresponding to the object
This trait is implemented by parsers, lexers and errors.
Required methods
fn position(&self) -> TextPosition
Returns the current position or a position corresponding to the object.
Implementors
impl Position for TextPosition
[src]
fn position(&self) -> TextPosition
[src]
impl Position for Error
[src]
fn position(&self) -> TextPosition
[src]
impl<B: Read> Position for EventReader<B>
[src]
fn position(&self) -> TextPosition
[src]
Returns the position of the last event produced by the reader.