pub trait DomObjectIteratorWrap: DomObjectWrap + JSTraceable + Iterable {
const ITER_WRAP: unsafe fn(_: JSContext, _: &GlobalScope, _: Option<HandleObject<'_>>, _: Box<IterableIterator<Self>>, _: CanGc) -> Root<Dom<IterableIterator<Self>>>;
}
Expand description
A trait to provide a function pointer to wrap function for DOM iterator interfaces.
Required Associated Constants§
sourceconst ITER_WRAP: unsafe fn(_: JSContext, _: &GlobalScope, _: Option<HandleObject<'_>>, _: Box<IterableIterator<Self>>, _: CanGc) -> Root<Dom<IterableIterator<Self>>>
const ITER_WRAP: unsafe fn(_: JSContext, _: &GlobalScope, _: Option<HandleObject<'_>>, _: Box<IterableIterator<Self>>, _: CanGc) -> Root<Dom<IterableIterator<Self>>>
Function pointer to the wrap function for IterableIterator<T>
Object Safety§
This trait is not object safe.