mirui 0.46.0

A lightweight, no_std ECS-driven UI framework for embedded, mobile, desktop, and WebAssembly
Documentation
/// Marker that hides the entity (and its descendants) from layout,
/// rendering, and hit-test. Toggle by inserting / removing.
pub struct Hidden;

/// Marks a widget as an eligible pointer hit-test target.
///
/// Layout and clipping still traverse widgets without this marker; only the
/// deepest marked widget under the pointer becomes the event target.
#[derive(Clone, Copy, Debug, Default, Eq, PartialEq)]
pub struct HitTarget;

/// Opts an input target into hover and press visual state.
///
/// Event delegation and visual feedback are separate: layout containers may
/// receive gestures through [`HitTarget`] without changing their appearance.
#[derive(crate::Component, Clone, Copy, Debug, Default)]
pub struct InteractionFeedback;

/// Marker that excludes the entity from hit-test only — layout and
/// rendering still apply. Use for visual overlays (cursor, debug grids,
/// drag ghosts) that must be drawn but should never intercept input.
pub struct IgnoreHitTest;