plushie-renderer-lib 0.6.0

Shared renderer engine for Plushie
Documentation
//! Shared renderer logic for plushie.
//!
//! This crate contains the platform-independent rendering engine that
//! processes incoming messages, dispatches iced updates, and emits
//! outgoing events. It compiles to both native and wasm32 targets.
//!
//! Platform-specific behavior (I/O, effects, sleep) is injected via
//! traits and cfg-gated dependencies. The `plushie` binary crate and
//! `plushie-web` WASM crate each provide their own implementations.

pub mod app;
pub mod apply;
pub mod constants;
pub mod emitter;
pub mod emitters;
pub mod events;
pub mod message_processing;
pub mod scripting;
pub mod settings;
pub mod subscriptions;
pub mod update;
pub mod view;
pub mod widget_ops;
pub mod window_map;
pub mod window_ops;

pub mod effects;

/// The iced daemon application. See [`app::App`] for details.
pub use app::App;

/// Clamp or reject invalid scale factors. See [`app::validate_scale_factor`].
pub use app::validate_scale_factor;

/// Trait for platform-specific side effects. See [`effects::EffectHandler`].
pub use effects::EffectHandler;