Module speedy2d::window[][src]

Allows for the creation and management of windows.

Structs

ModifiersState

The state of the modifier keys.

UserEventSender

Allows user events to be sent to the event loop from other threads.

WindowCreationOptions

Options used during the creation of a window.

WindowHelper

A set of helper methods to perform actions on a crate::Window.

WindowStartupInfo

Information about the starting state of the window.

Enums

EventLoopSendError

Error occuring when sending a user event.

MouseButton

Identifies a mouse button.

VirtualKeyCode

A virtual key code.

WindowCreationError

Error occurring when creating a window.

WindowFullscreenMode

Whether or not the window is in fullscreen mode.

WindowPosition

The position of the window to create.

WindowSize

The size of the window to create.

Traits

WindowHandler

A set of callbacks for an active window. If a callback is not implemented, it will do nothing by default, so it is only necessary to implement the callbacks you actually need.

Type Definitions

KeyScancode

Type representing a keyboard scancode.