Skip to main content

PositionAnswer

Type Alias PositionAnswer 

Source
pub type PositionAnswer = Option<CodeRect>;
Expand description

What a position query is answered with: the rectangle a caret at that position would be drawn in, or None where the position is not on screen.

Aliased Type§

pub enum PositionAnswer {
    None,
    Some(CodeRect),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(CodeRect)

Some value of type T.