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§