Skip to main content

Crate compose_rust

Crate compose_rust 

Source

Re-exports§

pub use asset::asset;
pub use boundary::Host;
pub use boundary::LaunchBuilder;
pub use boundary::MutationBatch;
pub use boundary::RendererApi;
pub use boundary::RuntimeFactory;
pub use boundary::demo_theme;
pub use boundary::demo_theme_for;
pub use boundary::install_renderer_api;
pub use boundary::launch_runtime;
pub use boundary::request_frame_from_worker;
pub use brush::Brush;
pub use brush::Stop;
pub use brush::brush;
pub use design::design_system;
pub use drawing::DrawCommand;
pub use drawing::DrawList;
pub use drawing::DrawListBuilder;
pub use input::FileDrop;
pub use input::KeyEvent;
pub use input::RangeRequest;
pub use message::Message;
pub use message::show_message;
pub use notification::Notification;
pub use notification::NotificationActivation;
pub use notification::NotificationSender;
pub use notification::notification_permission;
pub use notification::request_notification_permission;
pub use notification::withdraw_notification;
pub use palette::Palette;
pub use palette::PaletteViolation;
pub use runtime::Batch;
pub use runtime::Runtime;
pub use schema::Alignment;
pub use schema::Arrangement;
pub use schema::AssetKind;
pub use schema::ButtonVariant;
pub use schema::Chrome;
pub use schema::Color;
pub use schema::ColorRole;
pub use schema::ColorScheme;
pub use schema::DesignSystem;
pub use schema::EventPayload;
pub use schema::IconRole;
pub use schema::Key;
pub use schema::LoopMode;
pub use schema::MaterialRole;
pub use schema::MessageDuration;
pub use schema::Modifier;
pub use schema::MotionRole;
pub use schema::NotificationImportance;
pub use schema::NotificationPermission;
pub use schema::NotificationPresentation;
pub use schema::Paint;
pub use schema::PropertyKind;
pub use schema::SCHEMA_HASH;
pub use schema::Selection;
pub use schema::ShapeRole;
pub use schema::SpaceRole;
pub use schema::TextAlign;
pub use schema::TextOverflow;
pub use schema::Theme;
pub use schema::TileMode;
pub use schema::TypeRole;
pub use schema::WidgetKind;
pub use schema::WindowHeightClass;
pub use schema::WindowSizeClass;
pub use theme::ThemeHandle;
pub use window::NodeSize;
pub use window::WindowSize;
pub use window::node_size;
pub use window::window_size;

Modules§

asset
Pictures: registering the bytes once and drawing them by id.
boundary
brush
Gradients and image fills: registered once, named by id wherever a colour can go.
contrast
How far apart two colours are, in the two ways the colour roles are held to: contrast for an ink on a fill, and separation for a fill that has to be seen on another.
design
Which design system the Renderer resolved the theme to, and the registrations a runtime wakes its readers through.
drawing
The closed drawing command set a Canvas node carries.
highlight
From a highlighter’s names to the code colour roles.
input
What an event hands its handler, for the events whose payload is more than a value.
message
Transient messages: the one sentence an application says after something happened.
notification
Notifications: calling the user from outside the window.
palette
An application’s own colours.
protocol
Fixed-layout little-endian boundary protocol.
runtime
The seam between the boundary and whatever builds the tree.
schema
Closed Rust-side schema and metadata used for Kotlin code generation.
spans
Runs of different treatment inside one Text.
theme
Changing the theme while the application runs, and the palettes that come with it.
tokens
Design token tables.
window
The window’s measured size, and the registrations a runtime wakes its readers through.

Macros§

ios_main
Declares the entry point an iOS application starts at.