Skip to main content

WindowId

Type Alias WindowId 

Source
pub type WindowId = Handle<Window>;
Expand description

Identifier of a window created by a Shell.

A generational Handle, so using one after destroy_window is a clean ShellError::InvalidWindow rather than an operation applied to whatever window took the slot.

Aliased Typeยง

pub struct WindowId { /* private fields */ }