Expand description
Types used by hooks and components.
Structs§
- AppContext
- Information about the current application window.
- Font
- Represents a font.
- Image
Source - An image to be used with the img component.
- Rect
- Holds information about a rectangle.
Enums§
- Align
- Specify a horizontal alignment.
- Dim
- Specify dimension in absolute or percentual units.
- Hover
State - Hold information about the hovered state of a component.
- Scale
Mode - Define how an image should scale in relation to its container.
- VAlign
- Specify a vertical alignment.
Traits§
- Element
- An element that can be rendered, and has a key.
- Render
Element - An element that can be rendered, i.e. produce other elements.
Functions§
- pct
- Convenience function to create a percentual dimension.
Type Aliases§
- Element
Wrap - Wraps an element for allocation.
- Elements
- An array of elements, i.e. an element fragment.