pub struct OwnedScreen { /* fields omitted */ }

Implementations

Initialises persistent state.

Updates this screen, called every frame just before Render().

Frees/releases persistent state.

Draws this screen and its widgets on screen.

Builds the vertex mesh for all the widgets in the screen.

Returns non-zero if an input press is handled.

Returns non-zero if an input release is handled.

Returns non-zero if a key character press is handled.

Returns non-zero if a key character press is handled. Currently only raised by on-screen keyboard in web client.

Returns non-zero if a pointer press is handled.

Returns non-zero if a pointer release is handled.

Returns non-zero if a pointer movement is handled.

Returns non-zero if a mouse wheel scroll is handled.

Positions widgets on screen. Typically called on window resize.

Destroys graphics resources. (textures, vertex buffers, etc)

Allocates graphics resources. (textures, vertex buffers, etc)

Trait Implementations

Returns the “default value” for a type. Read more

Executes the destructor for this type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.