Trait rquickjs_core::FromIteratorJs[][src]

pub trait FromIteratorJs<'js, A>: Sized {
    type Item;
    fn from_iter_js<T>(ctx: Ctx<'js>, iter: T) -> Result<Self>
    where
        T: IntoIterator<Item = A>
; }

The Rust's FromIterator trait to use with Ctx

Associated Types

Loading content...

Required methods

fn from_iter_js<T>(ctx: Ctx<'js>, iter: T) -> Result<Self> where
    T: IntoIterator<Item = A>, 
[src]

Loading content...

Implementors

impl<'js, A> FromIteratorJs<'js, A> for Array<'js> where
    A: IntoJs<'js>, 
[src]

type Item = Value<'js>

impl<'js, K, V> FromIteratorJs<'js, (K, V)> for Object<'js> where
    K: IntoAtom<'js>,
    V: IntoJs<'js>, 
[src]

type Item = (Atom<'js>, Value<'js>)

Loading content...