Skip to main content

Crate mirui

Crate mirui 

Source

Modules§

anim
app
components
draw
ecs
event
layout
perf
Span-based perf tracing. Use crate::trace_span! / #[crate::trace_fn]; this module is the storage layer.
plugin
plugins
surface
timer
Declarative timers — Timer component fires a callback at scheduled MonoClock instants. Reset drift mode (no catch-up). Lifecycle variants cover one-shot, periodic, bounded counts, and bounded wall deadlines. See .local/specs/timer/design.md for the full surface.
types
widget

Macros§

trace_span
trace_span!("name") — RAII statement: guard lives until end of scope. Multiple calls in one scope each get a unique binding.

Attribute Macros§

system
Attach perf-aware metadata to a fn(&mut World).
trace_fn
#[trace_fn("name")] — equivalent to trace_span!("name"); as the first statement of the fn body.