Skip to main content

JsGeneric

Trait JsGeneric 

Source
pub trait JsGeneric:
    ErasableGeneric<Repr = JsValue>
    + UpcastFrom<Self>
    + Upcast<Self>
    + Upcast<JsValue>
    + JsCast
    + EncodeTypeDef
    + BinaryEncode
    + BinaryDecode
    + BatchableResult
    + 'static { }
Expand description

Convenience bound for JS values whose generic parameters erase to JsValue.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§