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>,
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.