Skip to main content

declarative_source_label

Function declarative_source_label 

Source
pub fn declarative_source_label(identifier: &str, title_case: bool) -> String
Expand description

Converts an identifier into the human-readable label used by generated surfaces.

§Parameters

§Returns

Returns the computed value produced by crate::declarative::declarative_source_label.

§Performance

Performance is proportional to the size of the supplied inputs and any parsed or loaded data consumed by crate::declarative::declarative_source_label.

§Examples

ⓘ
let _result = pharos_runtime_compiler::declarative::declarative_source_label(todo!(), todo!());