Trait JsCollectionFromValue

Source
pub trait JsCollectionFromValue {
    // Required method
    fn from_value(val: JsValue) -> Self;
}

Required Methods§

Source

fn from_value(val: JsValue) -> Self

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl JsCollectionFromValue for u8

Source§

impl JsCollectionFromValue for u32

Source§

impl JsCollectionFromValue for String

Source§

impl JsCollectionFromValue for JsString

Source§

impl<K, V> JsCollectionFromValue for (K, V)

Source§

fn from_value(val: JsValue) -> Self

Implementors§