pub fn lookup(id: &str) -> Option<&'static dyn Step>Expand description
Look up a registered step by id (s1, d1, …).
Searches the union of Full and Minimal registries (including steps only on Full).
§Examples
use horto_os_ui_shared::lookup;
let s1 = lookup("s1").expect("s1 registered");
assert_eq!(s1.id(), "s1");
assert!(lookup("nope").is_none());