Struct winit_window::WinitWindow [] [src]

pub struct WinitWindow {
    pub window: VulkanoWinWindow,
    pub events_loop: EventsLoop,
    pub surface: Arc<Surface>,
    // some fields omitted
}

Fields

Methods

impl WinitWindow
[src]

Trait Implementations

impl Window for WinitWindow
[src]

Tells the window to close or stay open.

Returns true if the window should close.

Gets the size of the window.

Swaps render buffers. Read more

Wait indefinitely for an input event to be available from the window.

Wait for an input event to be available from the window or for the specified timeout to be reached. Read more

Polls an input event from the window. Read more

Gets the draw size of the window. Read more

impl AdvancedWindow for WinitWindow
[src]

Gets a copy of the title of the window.

Sets the title of the window.

Gets whether to exit when pressing esc. Read more

Sets whether to exit when pressing esc. Read more

Sets whether to capture/grab the cursor. Read more

Shows the window. Read more

Hides the window. Read more

Gets the position of window. Read more

Sets the position of window. Read more

Sets title on window. Read more

Sets whether to exit when pressing the Esc button. Read more

Sets whether to capture/grab the cursor. Read more

Sets the position of window. Read more