Skip to main content

reference_render_fragment

Function reference_render_fragment 

Source
pub fn reference_render_fragment(
    template: &str,
    parameters: &Value,
) -> Option<String>
Expand description

Renders a reference fragment from a template value and parameter object.

§Parameters

§Returns

Returns Some when crate::reference::reference_render_fragment 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::reference::reference_render_fragment.

§Examples

ⓘ
let _result = pharos_runtime_docs::reference::reference_render_fragment(todo!(), todo!());