Skip to main content

Module class

Module class 

Source

Enums§

IterKind
Which view an iterator yields: keys(), values(), or entries().

Statics§

CUSTOM_INSPECT_SYMBOL_DESCRIPTION

Traits§

CustomInspect
CustomInspectExtension

Functions§

get_class
get_class_name
iterator_result
Wrap an entry into a { value, done } iterator result. None means done.
live_iterator
Create a WebIDL iterator instance, wiring its prototype the first time: the prototype inherits %IteratorPrototype% (so it’s tagged [object Iterator]) and next becomes enumerable. Idempotent — later calls skip the setup — so callers just build iterators and never register anything separately.