pub trait ToJsValue {
    fn to_js_value(&self) -> JsValue;
}
Expand description

This trait is used to provide an implementation for converting a given type into a wasm_bindgen::JsValue.

Required Methods

Convert the current type to a wasm_bindgen::JsValue;

Implementations on Foreign Types

Implementors