mitsuami-core 1.3.0

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`](https://github.com/Roboport-Tecnologia/mitsuami/blob/main/docs/ARCHITECTURE.md)
//! for the design.

pub mod a11y;
mod any_value;
mod app_info;
pub mod backend;
pub mod command;
mod custom;
pub mod draw;
mod element;
mod flow;
pub mod geometry;
pub mod graphemes;
mod input;
pub mod l10n;
mod list;
mod measure;
mod resource;
pub mod services;
mod store;
pub mod style;
mod surface;
mod table;
pub mod task;
mod tweak;
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 app_info::{AppIcon, AppInfo, NativeAppInfo, NativeIcon};
pub use backend::{
    Appearance, 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::{Insets, Point, Rect, Size, WindowSize};
pub use input::{KeyCode, Modifiers, MouseButton, ScrollDelta, SurfaceInput};
pub use list::{List, ListHandle, RowRender};
pub use measure::{NodeRef, node_ref, use_size, use_viewport};
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 surface::{NativeSurface, SurfaceHandle, SurfaceSize};
pub use table::{Sort, Table, TableColumn, TableWithoutEach, TableWithoutKey};
pub use tweak::Tweak;
pub use ui::{NodeInfo, Ui, WeakUi};
pub use units::{Length, LengthExt, Spacing};
pub use view::{AnyView, Callback, Children, Slot, View};
pub use widget::{
    ButtonRole, ButtonStyle, CellKey, ColumnData, ColumnSort, CurrentWindow, Cursor, DocumentTabsStyle, FileDrop,
    FontWeight, HeaderEdge, HorizontalAlign, ImageFit, ImageSource, InputPurpose, LayoutDirection, ListStyle, Modality,
    NodeId, Orientation, Pixels, Prop, RowKey, ScrollAxes, SelectionMode, SidebarItemData, SidebarSectionData,
    SortOrder, SystemCursor, TabsStyle, TextAlign, TextStyle, Truncation, WidgetKind, moved_index,
};

pub use mitsuami_reactive as reactive;
pub use raw_window_handle;
/// Grapheme clusters, which text selections count (`NodeRef::select_text`).
pub use unicode_segmentation;