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

Type Alias IterableKeyAndValueResult

Source
pub(crate) type IterableKeyAndValueResult = IterableKeyAndValueResult;

Aliased Type§

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

Fields§

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

Implementations

Trait Implementations

Source§

impl Default for IterableKeyAndValueResult

Source§

fn default() -> Self

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

impl ToJSValConvertible for IterableKeyAndValueResult

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 IterableKeyAndValueResult

Source§

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

Trace self.