Trait erl_tokenize::PositionRange[][src]

pub trait PositionRange {
    fn start_position(&self) -> Position;
fn end_position(&self) -> Position; }
Expand description

This trait allows to get a (half-open) range where the subject is located.

Required methods

Returns the (inclusive) start position of this.

Returns the (exclusive) end position of this.

Implementations on Foreign Types

Implementors