Crate craft_core

Source

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§

CraftOptions
Configuration options for the Craft application.
WindowContext
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.
CursorIcon
Describes the appearance of the (usually mouse) cursor icon.
RendererType
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.
FutureAny
PinnedFutureAny