SourceMapIndexable

Trait SourceMapIndexable 

Source
pub trait SourceMapIndexable<Index> {
    // Required method
    fn contains(&self, other: &Index) -> bool;
}
Expand description

A trait for types which can be used as lookup indices in a SourceMap.

Required Methods§

Source

fn contains(&self, other: &Index) -> bool

Return true if self contains or is equal to other.

Implementors§