Crate yakui_core

Source
Expand description

yakui_core implements the DOM and wiget APIs for yakui, a declarative UI library for games.

This entire crate is also re-exported from the yakui crate.

You might also be interested in:

Modules§

context
Provides access to the currently active DOM.
dom
Defines yakui’s DOM, which holds the hierarchy of widgets and their implementation details.
event
Defines the events that can be sent to yakui and handled by widgets.
geometry
Defines common geometry types used by yakui.
input
Defines how yakui responds to input and delegates it to widgets.
layout
Defines yakui’s layout protocol and Layout DOM.
paint
Defines primitives for painting widgets, including the Paint DOM.
widget
Defines traits for building widgets.

Structs§

Alignment
Defines alignment within a container.
ManagedTextureId
Identifies a texture that is managed by yakui.
Pivot
Defines a reference point for a widget.
Response
Wraps the response returned by a widget when it is updated.
WidgetId
Identifies a widget in the yakui DOM.
Yakui
The entrypoint for yakui.

Enums§

CrossAxisAlignment
Defines alignment along a container’s cross axis.
Direction
Defines the direction that a container will lay out its children.
Flow
Defines how an object participates in layout.
MainAxisAlignItems
Defines alignment for items within a container’s main axis when there is space left.
MainAxisAlignment
Defines alignment along a container’s main axis.
MainAxisSize
Defines sizing along a container’s main axis.
TextureId
Identifies a texture that may be managed by yakui or handled by the user.