Re-exports§
pub use craft_runtime::CraftRuntime;
Modules§
- accessibility
- app_
message - components
- craft_
runtime - elements
- events
- geometry
- palette
- Palettes with predefined colors.
- reactive
- renderer
- resource_
manager - style
Macros§
- component
- generate_
component_ methods - generate_
component_ methods_ no_ children - generate_
component_ methods_ private_ push
Structs§
- Craft
Options - Configuration options for the Craft application.
- Window
Context - User-level API to get and set common window properties. All values are in logical pixels.
Enums§
- Cursor
- See
Window::set_cursor()
for more details. - Cursor
Icon - Describes the appearance of the (usually mouse) cursor icon.
- Renderer
Type - An enumeration of the available renderer types for Craft.
Functions§
- craft_
main_ with_ options - Starts the Craft application with the provided component specification, global state, and configuration options.
Type Aliases§
- Color
- A convenient alias for the color type used for
Brush
. - Future
Any - Pinned
Future Any