mitsuami-core 0.0.1

Node tree, layout, styles, units, a11y model and backend contract for mitsuami
Documentation
//! mitsuami core: the retained node tree, styles and units, layout,
//! accessibility model, control flow and the backend contract.
//!
//! See `docs/ARCHITECTURE.md` for the design.

pub mod a11y;
mod any_value;
pub mod backend;
pub mod command;
mod custom;
pub mod draw;
mod element;
mod flow;
pub mod geometry;
mod resource;
pub mod services;
mod store;
pub mod style;
pub mod task;
mod ui;
pub mod units;
mod view;
mod widget;

pub use a11y::{A11yAction, A11yNode, A11yProps, ActionError, Role};
pub use any_value::{AnyValue, Opaque};
pub use backend::{
    AvailableSpace, Backend, EventSink, Key, MeasureRequest, NativeState, PlatformMetrics, SyntheticInput, TestHooks,
};
pub use command::{Command, EventValue, PointerEvent, PointerKind, UiEvent};
pub use custom::{Composed, Custom, CustomProps, CustomView, CustomWidget, Drawn, Render, Renderer};
pub use draw::{Canvas, Color, DisplayList, Path, Shape};
pub use element::{Element, ElementBuilder};
pub use flow::{For, Show};
pub use geometry::{Point, Rect, Size, WindowSize};
pub use resource::{Action, Resource, action, resource, resource_on};
pub use store::{Store, provide_stores, use_store};
pub use style::{Align, Display, FlexDirection, GridPlacement, Justify, Style, TextDirection, Track, repeat};
pub use ui::{NodeInfo, Ui, WeakUi};
pub use units::{Length, LengthExt, Spacing};
pub use view::{AnyView, Callback, Children, Slot, View};
pub use widget::{ButtonVariant, NodeId, Prop, ScrollAxes, TextStyle, WidgetKind};

pub use mitsuami_reactive as reactive;