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]

[src]

Creates a new NoWindow.

Trait Implementations

impl Window for NoWindow
[src]

[src]

Returns true if the window should close.

[src]

Tells the window to close or stay open.

[src]

Gets the size of the window.

[src]

Swaps render buffers. Read more

[src]

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

[src]

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

[src]

Polls an input event from the window. Read more

[src]

Gets the draw size of the window. Read more

impl BuildFromWindowSettings for NoWindow
[src]

[src]

Errors

This function will always return without error.

impl AdvancedWindow for NoWindow
[src]

[src]

Gets a copy of the title of the window.

[src]

Sets the title of the window.

[src]

Gets whether to exit when pressing esc. Read more

[src]

Sets whether to exit when pressing esc. Read more

[src]

Sets whether to capture/grab the cursor. Read more

[src]

Shows the window. Read more

[src]

Hides the window. Read more

[src]

Gets the position of window. Read more

[src]

Sets the position of window. Read more

[src]

Sets title on window. Read more

[src]

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

[src]

Sets whether to capture/grab the cursor. Read more

[src]

Sets the position of window. Read more