Trait xml::common::Position [] [src]

pub trait Position {
    fn position(&self) -> TextPosition;
}

Get the position in the document corresponding to the object

This trait is implemented by parsers, lexers and errors.

Required Methods

Returns the current position or a position corresponding to the object.

Implementors