Skip to main content

declarative_source_derive_generated_surface_fixture

Function declarative_source_derive_generated_surface_fixture 

Source
pub fn declarative_source_derive_generated_surface_fixture(
    artifact_dir: &Path,
) -> Option<usize>
Expand description

Derives and writes the generated surface fixture from framework contract files.

§Parameters

§Returns

Returns Some when crate::declarative::declarative_source_derive_generated_surface_fixture 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::declarative::declarative_source_derive_generated_surface_fixture.

§Examples

ⓘ
let _result = pharos_runtime_compiler::declarative::declarative_source_derive_generated_surface_fixture(std::path::Path::new("build/dev_docs"));