Struct alacritty::window_context::WindowContext[][src]

pub struct WindowContext {
Show 15 fields pub message_buffer: MessageBuffer, pub display: Display, event_queue: Vec<GlutinEvent<'static, Event>>, terminal: Arc<FairMutex<Term<EventProxy>>>, modifiers: ModifiersState, search_state: SearchState, received_count: usize, suppress_chars: bool, notifier: Notifier, font_size: Size, mouse: Mouse, dirty: bool, preserve_title: bool, master_fd: RawFd, shell_pid: u32,
}
Expand description

Event context for one individual Alacritty window.

Fields

message_buffer: MessageBufferdisplay: Displayevent_queue: Vec<GlutinEvent<'static, Event>>terminal: Arc<FairMutex<Term<EventProxy>>>modifiers: ModifiersStatesearch_state: SearchStatereceived_count: usizesuppress_chars: boolnotifier: Notifierfont_size: Sizemouse: Mousedirty: boolpreserve_title: boolmaster_fd: RawFdshell_pid: u32

Implementations

Create a new terminal window context.

Update the terminal window to the latest config.

Process events for this terminal window.

ID of this terminal context.

Write the ref test results to the disk.

Submit the pending changes to the Display.

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.