unicode_bidi

Type Alias LevelRun

source
pub type LevelRun = Range<usize>;
Expand description

A maximal substring of characters with the same embedding level.

Represented as a range of byte indices.

Aliased Type§

struct LevelRun {
    pub start: usize,
    pub end: usize,
}

Fields§

§start: usize

The lower bound of the range (inclusive).

§end: usize

The upper bound of the range (exclusive).