Trait rquickjs_core::IteratorJs

source ·
pub trait IteratorJs<'js, A> {
    // Required method
    fn collect_js<B>(self, ctx: &Ctx<'js>) -> Result<B>
       where B: FromIteratorJs<'js, A>;
}
Expand description

The Rust’s Iterator trait extension which works with Ctx

Required Methods§

source

fn collect_js<B>(self, ctx: &Ctx<'js>) -> Result<B>
where B: FromIteratorJs<'js, A>,

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<'js, T, A> IteratorJs<'js, A> for T
where T: Iterator<Item = A>,