Struct window::NoWindow [] [src]

pub struct NoWindow { /* fields omitted */ }

A window without user interface, often used in server event loops.

This structure holds just enough state to return values that were set. The size can be changed because the event loop does not emit Render events when the width or height is zero.

Methods

impl NoWindow
[src]

Creates a new NoWindow.

Trait Implementations

impl Window for NoWindow
[src]

The event type the window uses for incoming input. Read more

Returns true if the window should close.

Tells the window to close or stay open.

Gets the size of the window.

Swaps render buffers. Read more

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

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

Polls an event from the window. Read more

Gets the draw size of the window. Read more

impl BuildFromWindowSettings for NoWindow
[src]

Errors

This function will always return without error.

impl AdvancedWindow for NoWindow
[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