Skip to main content

Crate mirui_macros

Crate mirui_macros 

Source

Macros§

animate
Define a motion component (Tween or Spring) + its tick/apply system.
compose_backend
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

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.