pub trait HasIdSpan: HasId + HasLength {
    // Provided methods
    fn intersect<T: HasIdSpan>(&self, other: &T) -> bool { ... }
    fn id_span(&self) -> IdSpan { ... }
    fn id_end(&self) -> ID { ... }
    fn id_last(&self) -> ID { ... }
    fn contains_id(&self, id: ID) -> bool { ... }
}

Provided Methods§

source

fn intersect<T: HasIdSpan>(&self, other: &T) -> bool

source

fn id_span(&self) -> IdSpan

source

fn id_end(&self) -> ID

end is the exclusive end, last the inclusive end.

source

fn id_last(&self) -> ID

end is the exclusive end, last the inclusive end.

source

fn contains_id(&self, id: ID) -> bool

Object Safety§

This trait is not object safe.

Implementors§