Expand description
Macros re-exported by the oxframe facade. Generated code refers to
::oxframe, so they are meant to be used through it.
Status: oxframe is under very active development. The API is not stable yet and may change from version to version. Pin the exact version in your Cargo.toml and check the changelog before upgrading.
Macros§
- color
color!("#e13238")— aColorchecked at compile time. Accepts#rgb,#rgba,#rrggbband#rrggbbaa.- ease
ease!("slide")orease!("slide", presets::OUT_BACK)— a named Bézier easing editable in the curve editor; the value lives inmeta.json.- tune
tune!("speed", 1.4)— a number editable with a slider in the inspector; the value lives inmeta.json.
Attribute Macros§
- scene
- Turns
async fn intro(view: View) { .. }intofn intro() -> SceneDef.
Derive Macros§
- Node
- A node of your own from a struct that implements
Draw.