Crate weavetui_core

Crate weavetui_core 

Source
Expand description

Core library for the weavetui TUI framework.

This crate defines the fundamental traits and types for building interactive Text User Interface (TUI) components, including Component for rendering and event handling, and ComponentAccessor for managing component properties and children.

It provides the building blocks for the weavetui ecosystem, designed to be used in conjunction with the weavetui_derive crate for declarative component creation.

Modules§

app
Application module for weavetui.
component_manager
event
keyboard
macros
theme
tui

Macros§

components
Creates a vector of components from a list of component instances.
kb
Creates an array of keybindings.

Structs§

ComponentHandler
A handler for managing the lifecycle of a component.

Traits§

Component
The main trait for all UI components in the weavetui framework.
ComponentAccessor
A trait that provides access to the basic properties of a component.

Type Aliases§

Children
A type alias for a BTreeMap that stores child components.