Skip to main content

ui_shared_asset_path

Function ui_shared_asset_path 

Source
pub fn ui_shared_asset_path(app_root: &str, relative: &str) -> Option<String>
Expand description

Resolves a shared framework fragment under the app root.

§Parameters

§Returns

Returns Some when crate::runtime::ui::ui_shared_asset_path can produce a value and None otherwise.

§Examples

ⓘ
let _result = pharos_native::runtime::ui::ui_shared_asset_path(std::path::Path::new("apps/dev_docs"), todo!());