Struct glutin_window::GlutinWindow [] [src]

pub struct GlutinWindow {
    pub window: GlWindow,
    // some fields omitted
}

Contains stuff for game window.

Fields

The window.

Methods

impl GlutinWindow
[src]

[src]

Creates a new game window for Glutin.

Trait Implementations

impl Window for GlutinWindow
[src]

[src]

Gets the size of the window.

[src]

Gets the draw size of the window. Read more

[src]

Returns true if the window should close.

[src]

Tells the window to close or stay open.

[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

impl BuildFromWindowSettings for GlutinWindow
[src]

[src]

Builds the window from a WindowSettings object. Read more

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

[src]

Sets the position of window. Read more

[src]

Sets the window size. 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

impl OpenGLWindow for GlutinWindow
[src]

[src]

Returns the address of the specified OpenGL function if it exists. Read more

[src]

Returns true if this window's gl context is the current gl context.

[src]

Make the window's gl context the current gl context.

Auto Trait Implementations

impl !Send for GlutinWindow

impl !Sync for GlutinWindow