Skip to main content

wasm_render_spell_desc_with_data

Function wasm_render_spell_desc_with_data 

Source
pub fn wasm_render_spell_desc_with_data(
    input: SpellRenderInput,
) -> Result<JsValue, WasmCommonError>
Expand description

Render a spell description against a resolved character bundle into structured fragments.

ยงErrors

Returns WasmCommonError when the rendered result cannot be serialized for JavaScript.