Struct alacritty::display::content::Hint[][src]

struct Hint<'a> {
    regex: Regex<'a>,
    labels: &'a Vec<Vec<char>>,
}
Expand description

Regex hints for keyboard shortcuts.

Fields

regex: Regex<'a>

Hint matches and position.

labels: &'a Vec<Vec<char>>

Last match checked against current cell position.

Implementations

Advance the hint iterator.

If the point is within a hint, the keyboard shortcut character that should be displayed at this position will be returned.

The tuple’s bool will be true when the character is the first for this hint.

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.