pub fn surface_find_by_id(root: &Value, surface_id: &str) -> Option<String>Expand description
Performs surface find by ID.
§Parameters
root: Input consumed bycrate::runtime::json_commands::surface_find_by_id.surface_id: Input consumed bycrate::runtime::json_commands::surface_find_by_id.
§Returns
Returns Some when crate::runtime::json_commands::surface_find_by_id 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::surface_find_by_id.
§Examples
ⓘ
let _result = pharos_native::runtime::json_commands::surface_find_by_id(std::path::Path::new("."), "surface");§Related
crate::runtime::json_commandsfor adjacent helpers that share the same runtime surface.