script::dom::bindings::codegen::Bindings::IterableIteratorBinding

Type Alias IterableKeyOrValueResult

Source
pub(crate) type IterableKeyOrValueResult = IterableKeyOrValueResult;

Aliased Type§

struct IterableKeyOrValueResult {
    pub(crate) done: bool,
    pub(crate) value: RootedTraceableBox<Heap<Value>>,
}

Fields§

§done: bool§value: RootedTraceableBox<Heap<Value>>

Implementations

Trait Implementations

Source§

impl Default for IterableKeyOrValueResult

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl ToJSValConvertible for IterableKeyOrValueResult

Source§

unsafe fn to_jsval(&self, cx: *mut JSContext, rval: MutableHandleValue<'_>)

Convert self to a JSVal. JSAPI failure causes a panic.
Source§

impl Traceable for IterableKeyOrValueResult

Source§

unsafe fn trace(&self, tracer: *mut JSTracer)

Trace self.