Struct alacritty::display::Display[][src]

pub struct Display {
Show 13 fields pub size_info: SizeInfo, pub window: Window, pub highlighted_hint: Option<HintMatch>, pub vi_highlighted_hint: Option<HintMatch>, pub is_x11: bool, pub cursor_hidden: bool, pub visual_bell: VisualBell, pub colors: List, pub hint_state: HintState, pub pending_update: DisplayUpdate, renderer: QuadRenderer, glyph_cache: GlyphCache, meter: Meter,
}
Expand description

The display wraps a window, font rasterizer, and GPU renderer.

Fields

size_info: SizeInfowindow: Windowhighlighted_hint: Option<HintMatch>

Hint highlighted by the mouse.

vi_highlighted_hint: Option<HintMatch>

Hint highlighted by the vi mode cursor.

is_x11: boolcursor_hidden: bool

UI cursor visibility for blinking.

visual_bell: VisualBellcolors: List

Mapped RGB values for each terminal color.

hint_state: HintState

State of the keyboard hints.

pending_update: DisplayUpdate

Unprocessed display updates.

renderer: QuadRendererglyph_cache: GlyphCachemeter: Meter

Implementations

Update font size and cell dimensions.

This will return a tuple of the cell width and height.

Clear glyph cache.

Process update events.

Draw the screen.

A reference to Term whose state is being drawn must be provided.

This call may block if vsync is enabled.

Update to a new configuration.

Update the mouse/vi mode cursor hint highlighting.

This will return whether the highlighted hints changed.

Format search regex to account for the cursor and fullwidth characters.

Draw current search regex.

Draw render timer.

Draw an indicator for the position of a line in history.

Requst a new frame for a window on Wayland.

Trait Implementations

Executes the destructor for this type. Read more

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.