macro_rules! impl_thread_safe_js_value {
($type:ty) => { ... };
($type:ty, $suffix:expr) => { ... };
}
Expand description
This is a helper macro to implement the From trait for ThreadSafeJsValue.
This also adds a type alias for the ThreadSafeJsValue with a suffix. e.g. JsValue -> JsValueTS