Trait script::dom::bindings::reflector::DomObjectIteratorWrap

source ·
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§

source

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.

Implementors§

source§

impl DomObjectIteratorWrap for FormData

source§

const ITER_WRAP: unsafe fn(_: SafeJSContext, _: &GlobalScope, _: Option<HandleObject<'_>>, _: Box<IterableIterator<Self>>, _: CanGc) -> Root<Dom<IterableIterator<Self>>> = {dom::bindings::codegen::Bindings::FormDataBinding::FormDataIterator_Binding::Wrap as for<'a, 'b> unsafe fn(script_runtime::JSContext, &'a dom::globalscope::GlobalScope, std::option::Option<js::rust::Handle<'b, *mut js::jsapi::JSObject>>, std::boxed::Box<dom::bindings::iterable::IterableIterator<dom::formdata::FormData>>, script_runtime::CanGc) -> dom::bindings::root::Root<dom::bindings::root::Dom<dom::bindings::iterable::IterableIterator<dom::formdata::FormData>>>}

source§

impl DomObjectIteratorWrap for GPUSupportedFeatures

source§

const ITER_WRAP: unsafe fn(_: SafeJSContext, _: &GlobalScope, _: Option<HandleObject<'_>>, _: Box<IterableIterator<Self>>, _: CanGc) -> Root<Dom<IterableIterator<Self>>> = {dom::bindings::codegen::Bindings::WebGPUBinding::GPUSupportedFeaturesSetlike_Binding::Wrap as for<'a, 'b> unsafe fn(script_runtime::JSContext, &'a dom::globalscope::GlobalScope, std::option::Option<js::rust::Handle<'b, *mut js::jsapi::JSObject>>, std::boxed::Box<dom::bindings::iterable::IterableIterator<dom::gpusupportedfeatures::GPUSupportedFeatures>>, script_runtime::CanGc) -> dom::bindings::root::Root<dom::bindings::root::Dom<dom::bindings::iterable::IterableIterator<dom::gpusupportedfeatures::GPUSupportedFeatures>>>}

source§

impl DomObjectIteratorWrap for Headers

source§

const ITER_WRAP: unsafe fn(_: SafeJSContext, _: &GlobalScope, _: Option<HandleObject<'_>>, _: Box<IterableIterator<Self>>, _: CanGc) -> Root<Dom<IterableIterator<Self>>> = {dom::bindings::codegen::Bindings::HeadersBinding::HeadersIterator_Binding::Wrap as for<'a, 'b> unsafe fn(script_runtime::JSContext, &'a dom::globalscope::GlobalScope, std::option::Option<js::rust::Handle<'b, *mut js::jsapi::JSObject>>, std::boxed::Box<dom::bindings::iterable::IterableIterator<dom::headers::Headers>>, script_runtime::CanGc) -> dom::bindings::root::Root<dom::bindings::root::Dom<dom::bindings::iterable::IterableIterator<dom::headers::Headers>>>}

source§

impl DomObjectIteratorWrap for TestBindingMaplike

source§

const ITER_WRAP: unsafe fn(_: SafeJSContext, _: &GlobalScope, _: Option<HandleObject<'_>>, _: Box<IterableIterator<Self>>, _: CanGc) -> Root<Dom<IterableIterator<Self>>> = {dom::bindings::codegen::Bindings::TestBindingMaplikeBinding::TestBindingMaplikeMaplike_Binding::Wrap as for<'a, 'b> unsafe fn(script_runtime::JSContext, &'a dom::globalscope::GlobalScope, std::option::Option<js::rust::Handle<'b, *mut js::jsapi::JSObject>>, std::boxed::Box<dom::bindings::iterable::IterableIterator<dom::testbindingmaplike::TestBindingMaplike>>, script_runtime::CanGc) -> dom::bindings::root::Root<dom::bindings::root::Dom<dom::bindings::iterable::IterableIterator<dom::testbindingmaplike::TestBindingMaplike>>>}

source§

impl DomObjectIteratorWrap for TestBindingPairIterable

source§

const ITER_WRAP: unsafe fn(_: SafeJSContext, _: &GlobalScope, _: Option<HandleObject<'_>>, _: Box<IterableIterator<Self>>, _: CanGc) -> Root<Dom<IterableIterator<Self>>> = {dom::bindings::codegen::Bindings::TestBindingPairIterableBinding::TestBindingPairIterableIterator_Binding::Wrap as for<'a, 'b> unsafe fn(script_runtime::JSContext, &'a dom::globalscope::GlobalScope, std::option::Option<js::rust::Handle<'b, *mut js::jsapi::JSObject>>, std::boxed::Box<dom::bindings::iterable::IterableIterator<dom::testbindingpairiterable::TestBindingPairIterable>>, script_runtime::CanGc) -> dom::bindings::root::Root<dom::bindings::root::Dom<dom::bindings::iterable::IterableIterator<dom::testbindingpairiterable::TestBindingPairIterable>>>}

source§

impl DomObjectIteratorWrap for TestBindingSetlike

source§

const ITER_WRAP: unsafe fn(_: SafeJSContext, _: &GlobalScope, _: Option<HandleObject<'_>>, _: Box<IterableIterator<Self>>, _: CanGc) -> Root<Dom<IterableIterator<Self>>> = {dom::bindings::codegen::Bindings::TestBindingSetlikeBinding::TestBindingSetlikeSetlike_Binding::Wrap as for<'a, 'b> unsafe fn(script_runtime::JSContext, &'a dom::globalscope::GlobalScope, std::option::Option<js::rust::Handle<'b, *mut js::jsapi::JSObject>>, std::boxed::Box<dom::bindings::iterable::IterableIterator<dom::testbindingsetlike::TestBindingSetlike>>, script_runtime::CanGc) -> dom::bindings::root::Root<dom::bindings::root::Dom<dom::bindings::iterable::IterableIterator<dom::testbindingsetlike::TestBindingSetlike>>>}

source§

impl DomObjectIteratorWrap for URLSearchParams

source§

const ITER_WRAP: unsafe fn(_: SafeJSContext, _: &GlobalScope, _: Option<HandleObject<'_>>, _: Box<IterableIterator<Self>>, _: CanGc) -> Root<Dom<IterableIterator<Self>>> = {dom::bindings::codegen::Bindings::URLSearchParamsBinding::URLSearchParamsIterator_Binding::Wrap as for<'a, 'b> unsafe fn(script_runtime::JSContext, &'a dom::globalscope::GlobalScope, std::option::Option<js::rust::Handle<'b, *mut js::jsapi::JSObject>>, std::boxed::Box<dom::bindings::iterable::IterableIterator<dom::urlsearchparams::URLSearchParams>>, script_runtime::CanGc) -> dom::bindings::root::Root<dom::bindings::root::Dom<dom::bindings::iterable::IterableIterator<dom::urlsearchparams::URLSearchParams>>>}

source§

impl DomObjectIteratorWrap for XRHand

source§

const ITER_WRAP: unsafe fn(_: SafeJSContext, _: &GlobalScope, _: Option<HandleObject<'_>>, _: Box<IterableIterator<Self>>, _: CanGc) -> Root<Dom<IterableIterator<Self>>> = {dom::bindings::codegen::Bindings::XRHandBinding::XRHandIterator_Binding::Wrap as for<'a, 'b> unsafe fn(script_runtime::JSContext, &'a dom::globalscope::GlobalScope, std::option::Option<js::rust::Handle<'b, *mut js::jsapi::JSObject>>, std::boxed::Box<dom::bindings::iterable::IterableIterator<dom::xrhand::XRHand>>, script_runtime::CanGc) -> dom::bindings::root::Root<dom::bindings::root::Dom<dom::bindings::iterable::IterableIterator<dom::xrhand::XRHand>>>}