Skip to main content

RowSpan

Type Alias RowSpan 

Source
pub type RowSpan = Option<(usize, usize)>;
Expand description

Bounds of a selection on a particular row, expressed as inclusive char-column range. None means the row is outside the selection. Some((0, usize::MAX)) is the convention for “whole row” — the renderer caps it at the row’s actual length.

Aliased Type§

pub enum RowSpan {
    None,
    Some((usize, usize)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some((usize, usize))

Some value of type T.