Skip to main contentCrate mirui_macros
Source - animate
- Define a motion component (Tween or Spring) + its tick/apply system.
- compose_backend
- path
- scene
- timer
- trace_span
trace_span!("name") — RAII statement: guard lives until end of
scope. Multiple calls in one scope each get a unique binding.- ui
- Spawn a widget tree, or forward to another
#[compose] function.
- compose
- Inject a
cx: &mut UiScope first parameter into the annotated function. - 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.
- Component