Trait Positioned

Source
pub trait Positioned {
    // Required methods
    fn end(&self) -> usize;
    fn start(&self) -> usize;
}
Expand description

Element that has a start position and end position.

Required Methods§

Source

fn end(&self) -> usize

The byte position in the wiki text where the element ends.

Source

fn start(&self) -> usize

The byte position in the wiki text where the element starts.

Implementors§