[][src]Module coffee::ui::core

Customize your user interface with your own widgets and renderers.

  • The Widget trait allows you to build custom widgets.
  • The Renderer trait can be used to build your own renderer.

Re-exports

pub use stretch::geometry::Size;
pub use stretch::number::Number;

Structs

Element

A generic Widget.

Layout

The computed bounds of a Node and its children.

Node

The visual requirements of a Widget and its children.

Style

The appearance of a Node.

Enums

Align

Alignment on the cross axis of a container.

Event

A user interface event.

Justify

Distribution on the main axis of a container.

MouseCursor

The state of the mouse cursor.

Traits

Renderer

The renderer of a user interface.

Widget

A component that displays information or allows interaction.

Type Definitions

Hasher

The hasher used to compare layouts.