/tg/ Station 13 - Modules - TypesVar Details - Proc Details

rust

Adding this component to an Atom will have it automatically render an overlay. The overlay can be specified in new as the first paramter; if not set it defaults to rust_overlay's rust_default

Vars

rust_overlayInternal variable to store the rust overlay we are using to avoid regenerating it every overlay update call

Procs

handle_tool_useWe call this from secondary_tool_act because we sleep with do_after
secondary_tool_actBecause do_after sleeps we register the signal here and defer via an async call

Var Details

rust_overlay

Internal variable to store the rust overlay we are using to avoid regenerating it every overlay update call

Proc Details

handle_tool_use

We call this from secondary_tool_act because we sleep with do_after

secondary_tool_act

Because do_after sleeps we register the signal here and defer via an async call