Skip to main content

surface_find_by_id

Function surface_find_by_id 

Source
pub fn surface_find_by_id(root: &Value, surface_id: &str) -> Option<String>
Expand description

Performs surface find by ID.

§Parameters

§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");