Trait rquickjs_core::FromIteratorJs
source · pub trait FromIteratorJs<'js, A>: Sized {
type Item;
// Required method
fn from_iter_js<T>(ctx: &Ctx<'js>, iter: T) -> Result<Self>
where T: IntoIterator<Item = A>;
}
Expand description
The Rust’s FromIterator
trait to use with Ctx
Required Associated Types§
Required Methods§
fn from_iter_js<T>(ctx: &Ctx<'js>, iter: T) -> Result<Self>where
T: IntoIterator<Item = A>,
Object Safety§
This trait is not object safe.