IteratorDef

Trait IteratorDef 

Source
pub trait IteratorDef<'js>
where Self: 'js + JsClass<'js> + Sized,
{ // Required method fn js_entries(&self, ctx: Ctx<'js>) -> Result<Array<'js>>; // Provided method fn js_iterator(&self, ctx: Ctx<'js>) -> Result<Value<'js>> { ... } }

Required Methods§

Source

fn js_entries(&self, ctx: Ctx<'js>) -> Result<Array<'js>>

Provided Methods§

Source

fn js_iterator(&self, ctx: Ctx<'js>) -> Result<Value<'js>>

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.

Implementors§