Struct alacritty::display::hint::HintState[][src]

pub struct HintState {
    hint: Option<Hint>,
    alphabet: String,
    matches: RegexMatches,
    labels: Vec<Vec<char>>,
    keys: Vec<char>,
}
Expand description

Keyboard regex hint state.

Fields

hint: Option<Hint>

Hint currently in use.

alphabet: String

Alphabet for hint labels.

matches: RegexMatches

Visible matches.

labels: Vec<Vec<char>>

Key label for each visible match.

keys: Vec<char>

Keys pressed for hint selection.

Implementations

Initialize an inactive hint state.

Check if a hint selection is in progress.

Start the hint selection process.

Cancel the hint highlighting process.

Update the visible hint matches and key labels.

Handle keyboard input during hint selection.

Hint key labels.

Visible hint regex matches.

Update the alphabet used for hint labels.

Trait Implementations

Performs the conversion.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.