pub fn find_ui_ledger_element(root: &Value, element_id: &str) -> Option<String>Expand description
Finds an element in a UI ledger by its stable element id.
§Parameters
root: Input consumed bycrate::runtime::json_commands::find_ui_ledger_element.element_id: Input consumed bycrate::runtime::json_commands::find_ui_ledger_element.
§Returns
Returns Some when crate::runtime::json_commands::find_ui_ledger_element can produce a value and None otherwise.
§Performance
Performance is proportional to the size of the supplied inputs and any parsed or loaded data consumed by crate::runtime::json_commands::find_ui_ledger_element.
§Examples
ⓘ
let _result = pharos_native::runtime::json_commands::find_ui_ledger_element(std::path::Path::new("."), todo!());§Related
crate::runtime::json_commandsfor adjacent helpers that share the same runtime surface.