Skip to main content

find_ui_ledger_element

Function find_ui_ledger_element 

Source
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

§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!());