Skip to main content

CastFromJs

Derive Macro CastFromJs 

Source
#[derive(CastFromJs)]
Expand description

Derives CastFromJs for a type, generating the implementation that safely casts a JsValue reference back into the corresponding Rust type via workflow-wasm’s conversion helpers.