pub(crate) trait TestBindingMethods<D: DomTypes> {
Show 466 methods
// Required methods
fn BooleanAttribute(&self) -> bool;
fn SetBooleanAttribute(&self, value: bool);
fn ByteAttribute(&self) -> i8;
fn SetByteAttribute(&self, value: i8);
fn OctetAttribute(&self) -> u8;
fn SetOctetAttribute(&self, value: u8);
fn ShortAttribute(&self) -> i16;
fn SetShortAttribute(&self, value: i16);
fn UnsignedShortAttribute(&self) -> u16;
fn SetUnsignedShortAttribute(&self, value: u16);
fn LongAttribute(&self) -> i32;
fn SetLongAttribute(&self, value: i32);
fn UnsignedLongAttribute(&self) -> u32;
fn SetUnsignedLongAttribute(&self, value: u32);
fn LongLongAttribute(&self) -> i64;
fn SetLongLongAttribute(&self, value: i64);
fn UnsignedLongLongAttribute(&self) -> u64;
fn SetUnsignedLongLongAttribute(&self, value: u64);
fn UnrestrictedFloatAttribute(&self) -> f32;
fn SetUnrestrictedFloatAttribute(&self, value: f32);
fn FloatAttribute(&self) -> Finite<f32>;
fn SetFloatAttribute(&self, value: Finite<f32>);
fn UnrestrictedDoubleAttribute(&self) -> f64;
fn SetUnrestrictedDoubleAttribute(&self, value: f64);
fn DoubleAttribute(&self) -> Finite<f64>;
fn SetDoubleAttribute(&self, value: Finite<f64>);
fn StringAttribute(&self) -> DOMString;
fn SetStringAttribute(&self, value: DOMString);
fn UsvstringAttribute(&self) -> USVString;
fn SetUsvstringAttribute(&self, value: USVString);
fn ByteStringAttribute(&self) -> ByteString;
fn SetByteStringAttribute(&self, value: ByteString);
fn EnumAttribute(&self) -> TestEnum;
fn SetEnumAttribute(&self, value: TestEnum);
fn InterfaceAttribute(&self, _can_gc: CanGc) -> DomRoot<D::Blob>;
fn SetInterfaceAttribute(&self, value: &D::Blob);
fn UnionAttribute(&self) -> HTMLElementOrLong<D>;
fn SetUnionAttribute(&self, value: HTMLElementOrLong<D>);
fn Union2Attribute(&self) -> EventOrString<D>;
fn SetUnion2Attribute(&self, value: EventOrString<D>);
fn Union3Attribute(&self) -> EventOrUSVString<D>;
fn SetUnion3Attribute(&self, value: EventOrUSVString<D>);
fn Union4Attribute(&self) -> StringOrUnsignedLong;
fn SetUnion4Attribute(&self, value: StringOrUnsignedLong);
fn Union5Attribute(&self) -> StringOrBoolean;
fn SetUnion5Attribute(&self, value: StringOrBoolean);
fn Union6Attribute(&self) -> UnsignedLongOrBoolean;
fn SetUnion6Attribute(&self, value: UnsignedLongOrBoolean);
fn Union7Attribute(&self) -> BlobOrBoolean<D>;
fn SetUnion7Attribute(&self, value: BlobOrBoolean<D>);
fn Union8Attribute(&self) -> BlobOrUnsignedLong<D>;
fn SetUnion8Attribute(&self, value: BlobOrUnsignedLong<D>);
fn Union9Attribute(&self) -> ByteStringOrLong;
fn SetUnion9Attribute(&self, value: ByteStringOrLong);
fn ArrayAttribute(&self, cx: SafeJSContext) -> Uint8ClampedArray;
fn AnyAttribute(&self, cx: SafeJSContext, retval: MutableHandleValue<'_>);
fn SetAnyAttribute(&self, cx: SafeJSContext, value: HandleValue<'_>);
fn ObjectAttribute(&self, cx: SafeJSContext) -> NonNull<JSObject>;
fn SetObjectAttribute(&self, cx: SafeJSContext, value: *mut JSObject);
fn GetBooleanAttributeNullable(&self) -> Option<bool>;
fn SetBooleanAttributeNullable(&self, value: Option<bool>);
fn GetByteAttributeNullable(&self) -> Option<i8>;
fn SetByteAttributeNullable(&self, value: Option<i8>);
fn GetOctetAttributeNullable(&self) -> Option<u8>;
fn SetOctetAttributeNullable(&self, value: Option<u8>);
fn GetShortAttributeNullable(&self) -> Option<i16>;
fn SetShortAttributeNullable(&self, value: Option<i16>);
fn GetUnsignedShortAttributeNullable(&self) -> Option<u16>;
fn SetUnsignedShortAttributeNullable(&self, value: Option<u16>);
fn GetLongAttributeNullable(&self) -> Option<i32>;
fn SetLongAttributeNullable(&self, value: Option<i32>);
fn GetUnsignedLongAttributeNullable(&self) -> Option<u32>;
fn SetUnsignedLongAttributeNullable(&self, value: Option<u32>);
fn GetLongLongAttributeNullable(&self) -> Option<i64>;
fn SetLongLongAttributeNullable(&self, value: Option<i64>);
fn GetUnsignedLongLongAttributeNullable(&self) -> Option<u64>;
fn SetUnsignedLongLongAttributeNullable(&self, value: Option<u64>);
fn GetUnrestrictedFloatAttributeNullable(&self) -> Option<f32>;
fn SetUnrestrictedFloatAttributeNullable(&self, value: Option<f32>);
fn GetFloatAttributeNullable(&self) -> Option<Finite<f32>>;
fn SetFloatAttributeNullable(&self, value: Option<Finite<f32>>);
fn GetUnrestrictedDoubleAttributeNullable(&self) -> Option<f64>;
fn SetUnrestrictedDoubleAttributeNullable(&self, value: Option<f64>);
fn GetDoubleAttributeNullable(&self) -> Option<Finite<f64>>;
fn SetDoubleAttributeNullable(&self, value: Option<Finite<f64>>);
fn GetStringAttributeNullable(&self) -> Option<DOMString>;
fn SetStringAttributeNullable(&self, value: Option<DOMString>);
fn GetUsvstringAttributeNullable(&self) -> Option<USVString>;
fn SetUsvstringAttributeNullable(&self, value: Option<USVString>);
fn GetByteStringAttributeNullable(&self) -> Option<ByteString>;
fn SetByteStringAttributeNullable(&self, value: Option<ByteString>);
fn GetEnumAttributeNullable(&self) -> Option<TestEnum>;
fn GetInterfaceAttributeNullable(
&self,
_can_gc: CanGc,
) -> Option<DomRoot<D::Blob>>;
fn SetInterfaceAttributeNullable(&self, value: Option<&D::Blob>);
fn GetInterfaceAttributeWeak(&self) -> Option<DomRoot<D::URL>>;
fn SetInterfaceAttributeWeak(&self, value: Option<&D::URL>);
fn GetObjectAttributeNullable(
&self,
cx: SafeJSContext,
) -> Option<NonNull<JSObject>>;
fn SetObjectAttributeNullable(
&self,
cx: SafeJSContext,
value: *mut JSObject,
);
fn GetUnionAttributeNullable(&self) -> Option<HTMLElementOrLong<D>>;
fn SetUnionAttributeNullable(&self, value: Option<HTMLElementOrLong<D>>);
fn GetUnion2AttributeNullable(&self) -> Option<EventOrString<D>>;
fn SetUnion2AttributeNullable(&self, value: Option<EventOrString<D>>);
fn GetUnion3AttributeNullable(&self) -> Option<BlobOrBoolean<D>>;
fn SetUnion3AttributeNullable(&self, value: Option<BlobOrBoolean<D>>);
fn GetUnion4AttributeNullable(&self) -> Option<UnsignedLongOrBoolean>;
fn SetUnion4AttributeNullable(&self, value: Option<UnsignedLongOrBoolean>);
fn GetUnion5AttributeNullable(&self) -> Option<StringOrBoolean>;
fn SetUnion5AttributeNullable(&self, value: Option<StringOrBoolean>);
fn GetUnion6AttributeNullable(&self) -> Option<ByteStringOrLong>;
fn SetUnion6AttributeNullable(&self, value: Option<ByteStringOrLong>);
fn BinaryRenamedAttribute(&self) -> DOMString;
fn SetBinaryRenamedAttribute(&self, value: DOMString);
fn BinaryRenamedAttribute2(&self) -> DOMString;
fn SetBinaryRenamedAttribute2(&self, value: DOMString);
fn Attr_to_automatically_rename(&self) -> DOMString;
fn SetAttr_to_automatically_rename(&self, value: DOMString);
fn ForwardedAttribute(&self) -> DomRoot<D::TestBinding>;
fn BinaryRenamedMethod(&self);
fn ReceiveVoid(&self);
fn ReceiveBoolean(&self) -> bool;
fn ReceiveByte(&self) -> i8;
fn ReceiveOctet(&self) -> u8;
fn ReceiveShort(&self) -> i16;
fn ReceiveUnsignedShort(&self) -> u16;
fn ReceiveLong(&self) -> i32;
fn ReceiveUnsignedLong(&self) -> u32;
fn ReceiveLongLong(&self) -> i64;
fn ReceiveUnsignedLongLong(&self) -> u64;
fn ReceiveUnrestrictedFloat(&self) -> f32;
fn ReceiveFloat(&self) -> Finite<f32>;
fn ReceiveUnrestrictedDouble(&self) -> f64;
fn ReceiveDouble(&self) -> Finite<f64>;
fn ReceiveString(&self) -> DOMString;
fn ReceiveUsvstring(&self) -> USVString;
fn ReceiveByteString(&self) -> ByteString;
fn ReceiveEnum(&self) -> TestEnum;
fn ReceiveInterface(&self, _can_gc: CanGc) -> DomRoot<D::Blob>;
fn ReceiveAny(&self, cx: SafeJSContext, rval: MutableHandleValue<'_>);
fn ReceiveObject(&self, cx: SafeJSContext) -> NonNull<JSObject>;
fn ReceiveUnion(&self) -> HTMLElementOrLong<D>;
fn ReceiveUnion2(&self) -> EventOrString<D>;
fn ReceiveUnion3(&self) -> StringOrLongSequence;
fn ReceiveUnion4(&self) -> StringOrStringSequence;
fn ReceiveUnion5(&self) -> BlobOrBlobSequence<D>;
fn ReceiveUnion6(&self) -> StringOrUnsignedLong;
fn ReceiveUnion7(&self) -> StringOrBoolean;
fn ReceiveUnion8(&self) -> UnsignedLongOrBoolean;
fn ReceiveUnion9(&self) -> HTMLElementOrUnsignedLongOrStringOrBoolean<D>;
fn ReceiveUnion10(&self) -> ByteStringOrLong;
fn ReceiveUnion11(&self) -> ByteStringSequenceOrLongOrString;
fn ReceiveSequence(&self) -> Vec<i32>;
fn ReceiveInterfaceSequence(&self, _can_gc: CanGc) -> Vec<DomRoot<D::Blob>>;
fn ReceiveNullableByte(&self) -> Option<i8>;
fn ReceiveNullableBoolean(&self) -> Option<bool>;
fn ReceiveNullableOctet(&self) -> Option<u8>;
fn ReceiveNullableShort(&self) -> Option<i16>;
fn ReceiveNullableUnsignedShort(&self) -> Option<u16>;
fn ReceiveNullableLong(&self) -> Option<i32>;
fn ReceiveNullableUnsignedLong(&self) -> Option<u32>;
fn ReceiveNullableLongLong(&self) -> Option<i64>;
fn ReceiveNullableUnsignedLongLong(&self) -> Option<u64>;
fn ReceiveNullableUnrestrictedFloat(&self) -> Option<f32>;
fn ReceiveNullableFloat(&self) -> Option<Finite<f32>>;
fn ReceiveNullableUnrestrictedDouble(&self) -> Option<f64>;
fn ReceiveNullableDouble(&self) -> Option<Finite<f64>>;
fn ReceiveNullableString(&self) -> Option<DOMString>;
fn ReceiveNullableUsvstring(&self) -> Option<USVString>;
fn ReceiveNullableByteString(&self) -> Option<ByteString>;
fn ReceiveNullableEnum(&self) -> Option<TestEnum>;
fn ReceiveNullableInterface(
&self,
_can_gc: CanGc,
) -> Option<DomRoot<D::Blob>>;
fn ReceiveNullableObject(
&self,
cx: SafeJSContext,
) -> Option<NonNull<JSObject>>;
fn ReceiveNullableUnion(&self) -> Option<HTMLElementOrLong<D>>;
fn ReceiveNullableUnion2(&self) -> Option<EventOrString<D>>;
fn ReceiveNullableUnion3(&self) -> Option<StringOrLongSequence>;
fn ReceiveNullableUnion4(&self) -> Option<LongSequenceOrBoolean>;
fn ReceiveNullableUnion5(&self) -> Option<UnsignedLongOrBoolean>;
fn ReceiveNullableUnion6(&self) -> Option<ByteStringOrLong>;
fn ReceiveNullableSequence(&self) -> Option<Vec<i32>>;
fn ReceiveTestDictionaryWithSuccessOnKeyword(
&self,
) -> RootedTraceableBox<TestDictionary<D>>;
fn DictMatchesPassedValues(
&self,
arg: RootedTraceableBox<TestDictionary<D>>,
) -> bool;
fn ReceiveUnionIdentity(
&self,
cx: SafeJSContext,
arg: StringOrObject,
) -> StringOrObject;
fn PassBoolean(&self, arg: bool);
fn PassByte(&self, arg: i8);
fn PassOctet(&self, arg: u8);
fn PassShort(&self, arg: i16);
fn PassUnsignedShort(&self, arg: u16);
fn PassLong(&self, arg: i32);
fn PassUnsignedLong(&self, arg: u32);
fn PassLongLong(&self, arg: i64);
fn PassUnsignedLongLong(&self, arg: u64);
fn PassUnrestrictedFloat(&self, arg: f32);
fn PassFloat(&self, arg: Finite<f32>);
fn PassUnrestrictedDouble(&self, arg: f64);
fn PassDouble(&self, arg: Finite<f64>);
fn PassString(&self, arg: DOMString);
fn PassUsvstring(&self, arg: USVString);
fn PassByteString(&self, arg: ByteString);
fn PassEnum(&self, arg: TestEnum);
fn PassInterface(&self, arg: &D::Blob);
fn PassTypedArray(&self, arg: CustomAutoRooterGuard<'_, Int8Array>);
fn PassTypedArray2(&self, arg: CustomAutoRooterGuard<'_, ArrayBuffer>);
fn PassTypedArray3(&self, arg: CustomAutoRooterGuard<'_, ArrayBufferView>);
fn PassUnion(&self, arg: HTMLElementOrLong<D>);
fn PassUnion2(&self, data: EventOrString<D>);
fn PassUnion3(&self, data: BlobOrString<D>);
fn PassUnion4(&self, seq: StringOrStringSequence);
fn PassUnion5(&self, data: StringOrBoolean);
fn PassUnion6(&self, bool: UnsignedLongOrBoolean);
fn PassUnion7(&self, arg: StringSequenceOrUnsignedLong);
fn PassUnion8(&self, arg: ByteStringSequenceOrLong);
fn PassUnion9(&self, arg: TestDictionaryOrLong<D>);
fn PassUnion10(&self, cx: SafeJSContext, arg: StringOrObject);
fn PassUnion11(&self, arg: ArrayBufferOrArrayBufferView);
fn PassUnionWithTypedef(&self, arg: DocumentOrStringOrURLOrBlob<D>);
fn PassUnionWithTypedef2(&self, arg: LongSequenceOrStringOrURLOrBlob<D>);
fn PassAny(&self, cx: SafeJSContext, arg: HandleValue<'_>);
fn PassObject(&self, cx: SafeJSContext, arg: *mut JSObject);
fn PassCallbackFunction(&self, fun: Rc<Function<D>>);
fn PassCallbackInterface(&self, listener: Rc<EventListener<D>>);
fn PassSequence(&self, seq: Vec<i32>);
fn PassAnySequence(
&self,
cx: SafeJSContext,
seq: CustomAutoRooterGuard<'_, Vec<JSVal>>,
);
fn AnySequencePassthrough(
&self,
cx: SafeJSContext,
seq: CustomAutoRooterGuard<'_, Vec<JSVal>>,
) -> Vec<JSVal>;
fn PassObjectSequence(
&self,
cx: SafeJSContext,
seq: CustomAutoRooterGuard<'_, Vec<*mut JSObject>>,
);
fn PassStringSequence(&self, seq: Vec<DOMString>);
fn PassInterfaceSequence(&self, seq: Vec<DomRoot<D::Blob>>);
fn PassOverloaded(&self, arg: CustomAutoRooterGuard<'_, ArrayBuffer>);
fn PassOverloaded_(&self, arg: DOMString);
fn PassOverloadedDict(&self, arg: &D::Node) -> DOMString;
fn PassOverloadedDict_(&self, arg: &TestURLLike) -> DOMString;
fn PassNullableBoolean(&self, arg: Option<bool>);
fn PassNullableByte(&self, arg: Option<i8>);
fn PassNullableOctet(&self, arg: Option<u8>);
fn PassNullableShort(&self, arg: Option<i16>);
fn PassNullableUnsignedShort(&self, arg: Option<u16>);
fn PassNullableLong(&self, arg: Option<i32>);
fn PassNullableUnsignedLong(&self, arg: Option<u32>);
fn PassNullableLongLong(&self, arg: Option<i64>);
fn PassNullableUnsignedLongLong(&self, arg: Option<u64>);
fn PassNullableUnrestrictedFloat(&self, arg: Option<f32>);
fn PassNullableFloat(&self, arg: Option<Finite<f32>>);
fn PassNullableUnrestrictedDouble(&self, arg: Option<f64>);
fn PassNullableDouble(&self, arg: Option<Finite<f64>>);
fn PassNullableString(&self, arg: Option<DOMString>);
fn PassNullableUsvstring(&self, arg: Option<USVString>);
fn PassNullableByteString(&self, arg: Option<ByteString>);
fn PassNullableInterface(&self, arg: Option<&D::Blob>);
fn PassNullableObject(&self, cx: SafeJSContext, arg: *mut JSObject);
fn PassNullableTypedArray(
&self,
arg: CustomAutoRooterGuard<'_, Option<Int8Array>>,
);
fn PassNullableUnion(&self, arg: Option<HTMLElementOrLong<D>>);
fn PassNullableUnion2(&self, data: Option<EventOrString<D>>);
fn PassNullableUnion3(&self, data: Option<StringOrLongSequence>);
fn PassNullableUnion4(&self, bool: Option<LongSequenceOrBoolean>);
fn PassNullableUnion5(&self, arg: Option<UnsignedLongOrBoolean>);
fn PassNullableUnion6(&self, arg: Option<ByteStringOrLong>);
fn PassNullableCallbackFunction(&self, fun: Option<Rc<Function<D>>>);
fn PassNullableCallbackInterface(
&self,
listener: Option<Rc<EventListener<D>>>,
);
fn PassNullableSequence(&self, seq: Option<Vec<i32>>);
fn PassOptionalBoolean(&self, arg: Option<bool>);
fn PassOptionalByte(&self, arg: Option<i8>);
fn PassOptionalOctet(&self, arg: Option<u8>);
fn PassOptionalShort(&self, arg: Option<i16>);
fn PassOptionalUnsignedShort(&self, arg: Option<u16>);
fn PassOptionalLong(&self, arg: Option<i32>);
fn PassOptionalUnsignedLong(&self, arg: Option<u32>);
fn PassOptionalLongLong(&self, arg: Option<i64>);
fn PassOptionalUnsignedLongLong(&self, arg: Option<u64>);
fn PassOptionalUnrestrictedFloat(&self, arg: Option<f32>);
fn PassOptionalFloat(&self, arg: Option<Finite<f32>>);
fn PassOptionalUnrestrictedDouble(&self, arg: Option<f64>);
fn PassOptionalDouble(&self, arg: Option<Finite<f64>>);
fn PassOptionalString(&self, arg: Option<DOMString>);
fn PassOptionalUsvstring(&self, arg: Option<USVString>);
fn PassOptionalByteString(&self, arg: Option<ByteString>);
fn PassOptionalEnum(&self, arg: Option<TestEnum>);
fn PassOptionalInterface(&self, arg: Option<&D::Blob>);
fn PassOptionalUnion(&self, arg: Option<HTMLElementOrLong<D>>);
fn PassOptionalUnion2(&self, data: Option<EventOrString<D>>);
fn PassOptionalUnion3(&self, arg: Option<StringOrLongSequence>);
fn PassOptionalUnion4(&self, data: Option<LongSequenceOrBoolean>);
fn PassOptionalUnion5(&self, bool: Option<UnsignedLongOrBoolean>);
fn PassOptionalUnion6(&self, arg: Option<ByteStringOrLong>);
fn PassOptionalAny(&self, cx: SafeJSContext, arg: HandleValue<'_>);
fn PassOptionalObject(&self, cx: SafeJSContext, arg: Option<*mut JSObject>);
fn PassOptionalCallbackFunction(&self, fun: Option<Rc<Function<D>>>);
fn PassOptionalCallbackInterface(
&self,
listener: Option<Rc<EventListener<D>>>,
);
fn PassOptionalSequence(&self, seq: Option<Vec<i32>>);
fn PassOptionalNullableBoolean(&self, arg: Option<Option<bool>>);
fn PassOptionalNullableByte(&self, arg: Option<Option<i8>>);
fn PassOptionalNullableOctet(&self, arg: Option<Option<u8>>);
fn PassOptionalNullableShort(&self, arg: Option<Option<i16>>);
fn PassOptionalNullableUnsignedShort(&self, arg: Option<Option<u16>>);
fn PassOptionalNullableLong(&self, arg: Option<Option<i32>>);
fn PassOptionalNullableUnsignedLong(&self, arg: Option<Option<u32>>);
fn PassOptionalNullableLongLong(&self, arg: Option<Option<i64>>);
fn PassOptionalNullableUnsignedLongLong(&self, arg: Option<Option<u64>>);
fn PassOptionalNullableUnrestrictedFloat(&self, arg: Option<Option<f32>>);
fn PassOptionalNullableFloat(&self, arg: Option<Option<Finite<f32>>>);
fn PassOptionalNullableUnrestrictedDouble(&self, arg: Option<Option<f64>>);
fn PassOptionalNullableDouble(&self, arg: Option<Option<Finite<f64>>>);
fn PassOptionalNullableString(&self, arg: Option<Option<DOMString>>);
fn PassOptionalNullableUsvstring(&self, arg: Option<Option<USVString>>);
fn PassOptionalNullableByteString(&self, arg: Option<Option<ByteString>>);
fn PassOptionalNullableInterface(&self, arg: Option<Option<&D::Blob>>);
fn PassOptionalNullableObject(
&self,
cx: SafeJSContext,
arg: Option<*mut JSObject>,
);
fn PassOptionalNullableUnion(
&self,
arg: Option<Option<HTMLElementOrLong<D>>>,
);
fn PassOptionalNullableUnion2(&self, data: Option<Option<EventOrString<D>>>);
fn PassOptionalNullableUnion3(
&self,
arg: Option<Option<StringOrLongSequence>>,
);
fn PassOptionalNullableUnion4(
&self,
data: Option<Option<LongSequenceOrBoolean>>,
);
fn PassOptionalNullableUnion5(
&self,
bool: Option<Option<UnsignedLongOrBoolean>>,
);
fn PassOptionalNullableUnion6(&self, arg: Option<Option<ByteStringOrLong>>);
fn PassOptionalNullableCallbackFunction(
&self,
fun: Option<Option<Rc<Function<D>>>>,
);
fn PassOptionalNullableCallbackInterface(
&self,
listener: Option<Option<Rc<EventListener<D>>>>,
);
fn PassOptionalNullableSequence(&self, seq: Option<Option<Vec<i32>>>);
fn PassOptionalBooleanWithDefault(&self, arg: bool);
fn PassOptionalByteWithDefault(&self, arg: i8);
fn PassOptionalOctetWithDefault(&self, arg: u8);
fn PassOptionalShortWithDefault(&self, arg: i16);
fn PassOptionalUnsignedShortWithDefault(&self, arg: u16);
fn PassOptionalLongWithDefault(&self, arg: i32);
fn PassOptionalUnsignedLongWithDefault(&self, arg: u32);
fn PassOptionalLongLongWithDefault(&self, arg: i64);
fn PassOptionalUnsignedLongLongWithDefault(&self, arg: u64);
fn PassOptionalBytestringWithDefault(&self, arg: ByteString);
fn PassOptionalStringWithDefault(&self, arg: DOMString);
fn PassOptionalUsvstringWithDefault(&self, arg: USVString);
fn PassOptionalEnumWithDefault(&self, arg: TestEnum);
fn PassOptionalSequenceWithDefault(&self, seq: Vec<i32>);
fn PassOptionalNullableBooleanWithDefault(&self, arg: Option<bool>);
fn PassOptionalNullableByteWithDefault(&self, arg: Option<i8>);
fn PassOptionalNullableOctetWithDefault(&self, arg: Option<u8>);
fn PassOptionalNullableShortWithDefault(&self, arg: Option<i16>);
fn PassOptionalNullableUnsignedShortWithDefault(&self, arg: Option<u16>);
fn PassOptionalNullableLongWithDefault(&self, arg: Option<i32>);
fn PassOptionalNullableUnsignedLongWithDefault(&self, arg: Option<u32>);
fn PassOptionalNullableLongLongWithDefault(&self, arg: Option<i64>);
fn PassOptionalNullableUnsignedLongLongWithDefault(&self, arg: Option<u64>);
fn PassOptionalNullableStringWithDefault(&self, arg: Option<DOMString>);
fn PassOptionalNullableUsvstringWithDefault(&self, arg: Option<USVString>);
fn PassOptionalNullableByteStringWithDefault(&self, arg: Option<ByteString>);
fn PassOptionalNullableInterfaceWithDefault(&self, arg: Option<&D::Blob>);
fn PassOptionalNullableObjectWithDefault(
&self,
cx: SafeJSContext,
arg: *mut JSObject,
);
fn PassOptionalNullableUnionWithDefault(
&self,
arg: Option<HTMLElementOrLong<D>>,
);
fn PassOptionalNullableUnion2WithDefault(
&self,
data: Option<EventOrString<D>>,
);
fn PassOptionalNullableCallbackInterfaceWithDefault(
&self,
listener: Option<Rc<EventListener<D>>>,
);
fn PassOptionalAnyWithDefault(
&self,
cx: SafeJSContext,
arg: HandleValue<'_>,
);
fn PassOptionalNullableBooleanWithNonNullDefault(&self, arg: Option<bool>);
fn PassOptionalNullableByteWithNonNullDefault(&self, arg: Option<i8>);
fn PassOptionalNullableOctetWithNonNullDefault(&self, arg: Option<u8>);
fn PassOptionalNullableShortWithNonNullDefault(&self, arg: Option<i16>);
fn PassOptionalNullableUnsignedShortWithNonNullDefault(
&self,
arg: Option<u16>,
);
fn PassOptionalNullableLongWithNonNullDefault(&self, arg: Option<i32>);
fn PassOptionalNullableUnsignedLongWithNonNullDefault(
&self,
arg: Option<u32>,
);
fn PassOptionalNullableLongLongWithNonNullDefault(&self, arg: Option<i64>);
fn PassOptionalNullableUnsignedLongLongWithNonNullDefault(
&self,
arg: Option<u64>,
);
fn PassOptionalNullableStringWithNonNullDefault(
&self,
arg: Option<DOMString>,
);
fn PassOptionalNullableUsvstringWithNonNullDefault(
&self,
arg: Option<USVString>,
);
fn PassOptionalOverloaded(
&self,
arg0: &D::TestBinding,
arg1: u32,
arg2: u32,
) -> DomRoot<D::TestBinding>;
fn PassOptionalOverloaded_(&self, arg0: &D::Blob, arg1: u32);
fn PassVariadicBoolean(&self, args: Vec<bool>);
fn PassVariadicBooleanAndDefault(&self, arg: bool, args: Vec<bool>);
fn PassVariadicByte(&self, args: Vec<i8>);
fn PassVariadicOctet(&self, args: Vec<u8>);
fn PassVariadicShort(&self, args: Vec<i16>);
fn PassVariadicUnsignedShort(&self, args: Vec<u16>);
fn PassVariadicLong(&self, args: Vec<i32>);
fn PassVariadicUnsignedLong(&self, args: Vec<u32>);
fn PassVariadicLongLong(&self, args: Vec<i64>);
fn PassVariadicUnsignedLongLong(&self, args: Vec<u64>);
fn PassVariadicUnrestrictedFloat(&self, args: Vec<f32>);
fn PassVariadicFloat(&self, args: Vec<Finite<f32>>);
fn PassVariadicUnrestrictedDouble(&self, args: Vec<f64>);
fn PassVariadicDouble(&self, args: Vec<Finite<f64>>);
fn PassVariadicString(&self, args: Vec<DOMString>);
fn PassVariadicUsvstring(&self, args: Vec<USVString>);
fn PassVariadicByteString(&self, args: Vec<ByteString>);
fn PassVariadicEnum(&self, args: Vec<TestEnum>);
fn PassVariadicInterface(&self, args: &[&D::Blob]);
fn PassVariadicUnion(&self, args: Vec<HTMLElementOrLong<D>>);
fn PassVariadicUnion2(&self, args: Vec<EventOrString<D>>);
fn PassVariadicUnion3(&self, args: Vec<BlobOrString<D>>);
fn PassVariadicUnion4(&self, args: Vec<BlobOrBoolean<D>>);
fn PassVariadicUnion5(&self, args: Vec<StringOrUnsignedLong>);
fn PassVariadicUnion6(&self, args: Vec<UnsignedLongOrBoolean>);
fn PassVariadicUnion7(&self, args: Vec<ByteStringOrLong>);
fn PassVariadicAny(&self, cx: SafeJSContext, args: Vec<HandleValue<'_>>);
fn PassVariadicObject(&self, cx: SafeJSContext, args: Vec<*mut JSObject>);
fn PassSequenceSequence(&self, seq: Vec<Vec<i32>>);
fn ReturnSequenceSequence(&self) -> Vec<Vec<i32>>;
fn PassUnionSequenceSequence(&self, seq: LongOrLongSequenceSequence);
fn PassRecordPromise(&self, arg: Record<DOMString, Rc<D::Promise>>);
fn PassRecord(&self, arg: Record<DOMString, i32>);
fn PassRecordWithUSVStringKey(&self, arg: Record<USVString, i32>);
fn PassRecordWithByteStringKey(&self, arg: Record<ByteString, i32>);
fn PassNullableRecord(&self, arg: Option<Record<DOMString, i32>>);
fn PassRecordOfNullableInts(&self, arg: Record<DOMString, Option<i32>>);
fn PassOptionalRecordOfNullableInts(
&self,
arg: Option<Record<DOMString, Option<i32>>>,
);
fn PassOptionalNullableRecordOfNullableInts(
&self,
arg: Option<Option<Record<DOMString, Option<i32>>>>,
);
fn PassCastableObjectRecord(
&self,
arg: Record<DOMString, DomRoot<D::TestBinding>>,
);
fn PassNullableCastableObjectRecord(
&self,
arg: Record<DOMString, Option<DomRoot<D::TestBinding>>>,
);
fn PassCastableObjectNullableRecord(
&self,
arg: Option<Record<DOMString, DomRoot<D::TestBinding>>>,
);
fn PassNullableCastableObjectNullableRecord(
&self,
arg: Option<Record<DOMString, Option<DomRoot<D::TestBinding>>>>,
);
fn PassOptionalRecord(&self, arg: Option<Record<DOMString, i32>>);
fn PassOptionalNullableRecord(
&self,
arg: Option<Option<Record<DOMString, i32>>>,
);
fn PassOptionalNullableRecordWithDefaultValue(
&self,
arg: Option<Record<DOMString, i32>>,
);
fn PassOptionalObjectRecord(
&self,
arg: Option<Record<DOMString, DomRoot<D::TestBinding>>>,
);
fn PassStringRecord(&self, arg: Record<DOMString, DOMString>);
fn PassByteStringRecord(&self, arg: Record<DOMString, ByteString>);
fn PassRecordOfRecords(
&self,
arg: Record<DOMString, Record<DOMString, i32>>,
);
fn PassRecordUnion(&self, init: LongOrStringByteStringRecord);
fn PassRecordUnion2(&self, init: TestBindingOrStringByteStringRecord<D>);
fn PassRecordUnion3(
&self,
init: TestBindingOrByteStringSequenceSequenceOrStringByteStringRecord<D>,
);
fn ReceiveRecord(&self) -> Record<DOMString, i32>;
fn ReceiveRecordWithUSVStringKey(&self) -> Record<USVString, i32>;
fn ReceiveRecordWithByteStringKey(&self) -> Record<ByteString, i32>;
fn ReceiveNullableRecord(&self) -> Option<Record<DOMString, i32>>;
fn ReceiveRecordOfNullableInts(&self) -> Record<DOMString, Option<i32>>;
fn ReceiveNullableRecordOfNullableInts(
&self,
) -> Option<Record<DOMString, Option<i32>>>;
fn ReceiveRecordOfRecords(
&self,
) -> Record<DOMString, Record<DOMString, i32>>;
fn ReceiveAnyRecord(&self) -> Record<DOMString, JSVal>;
fn BooleanAttributeStatic(global: &D::GlobalScope) -> bool;
fn SetBooleanAttributeStatic(global: &D::GlobalScope, value: bool);
fn ReceiveVoidStatic(global: &D::GlobalScope);
fn BooleanMozPreference(&self, pref_name: DOMString) -> bool;
fn StringMozPreference(&self, pref_name: DOMString) -> DOMString;
fn PrefControlledAttributeDisabled(&self) -> bool;
fn PrefControlledStaticAttributeDisabled(global: &D::GlobalScope) -> bool;
fn PrefControlledMethodDisabled(&self);
fn PrefControlledStaticMethodDisabled(global: &D::GlobalScope);
fn AdvanceClock(&self, millis: i32);
fn PrefControlledAttributeEnabled(&self) -> bool;
fn PrefControlledStaticAttributeEnabled(global: &D::GlobalScope) -> bool;
fn PrefControlledMethodEnabled(&self);
fn PrefControlledStaticMethodEnabled(global: &D::GlobalScope);
fn FuncControlledAttributeDisabled(&self) -> bool;
fn FuncControlledStaticAttributeDisabled(global: &D::GlobalScope) -> bool;
fn FuncControlledMethodDisabled(&self);
fn FuncControlledStaticMethodDisabled(global: &D::GlobalScope);
fn FuncControlledAttributeEnabled(&self) -> bool;
fn FuncControlledStaticAttributeEnabled(global: &D::GlobalScope) -> bool;
fn FuncControlledMethodEnabled(&self);
fn FuncControlledStaticMethodEnabled(global: &D::GlobalScope);
fn ReturnResolvedPromise(
&self,
cx: SafeJSContext,
value: HandleValue<'_>,
) -> Rc<D::Promise>;
fn ReturnRejectedPromise(
&self,
cx: SafeJSContext,
value: HandleValue<'_>,
) -> Rc<D::Promise>;
fn PromiseAttribute(
&self,
_comp: InRealm<'_>,
_can_gc: CanGc,
) -> Rc<D::Promise>;
fn AcceptPromise(&self, string: &D::Promise);
fn PromiseNativeHandler(
&self,
resolve: Option<Rc<SimpleCallback<D>>>,
reject: Option<Rc<SimpleCallback<D>>>,
_comp: InRealm<'_>,
_can_gc: CanGc,
) -> Rc<D::Promise>;
fn PromiseResolveNative(
&self,
cx: SafeJSContext,
p: &D::Promise,
value: HandleValue<'_>,
_can_gc: CanGc,
);
fn PromiseRejectNative(
&self,
cx: SafeJSContext,
p: &D::Promise,
value: HandleValue<'_>,
_can_gc: CanGc,
);
fn PromiseRejectWithTypeError(
&self,
p: &D::Promise,
message: USVString,
_can_gc: CanGc,
);
fn ResolvePromiseDelayed(&self, p: &D::Promise, value: DOMString, ms: u64);
fn StaticThrowToRejectPromise(
global: &D::GlobalScope,
) -> Fallible<Rc<D::Promise>>;
fn MethodThrowToRejectPromise(&self) -> Fallible<Rc<D::Promise>>;
fn GetGetterThrowToRejectPromise(&self) -> Fallible<Rc<D::Promise>>;
fn StaticInternalThrowToRejectPromise(
global: &D::GlobalScope,
arg: u64,
) -> Rc<D::Promise>;
fn MethodInternalThrowToRejectPromise(&self, arg: u64) -> Rc<D::Promise>;
fn Panic(&self);
fn EntryGlobal(&self) -> DomRoot<D::GlobalScope>;
fn IncumbentGlobal(&self) -> DomRoot<D::GlobalScope>;
fn SemiExposedBoolFromInterface(&self) -> bool;
fn GetDictionaryWithParent(
&self,
parent: DOMString,
child: DOMString,
) -> TestDictionaryWithParent;
fn BoolFromSemiExposedPartialInterface(&self) -> bool;
fn SemiExposedBoolFromPartialInterface(&self) -> bool;
fn CrashHard(&self);
fn Constructor(
global: &D::GlobalScope,
proto: Option<HandleObject<'_>>,
can_gc: CanGc,
) -> Fallible<DomRoot<D::TestBinding>>;
fn Constructor_(
global: &D::GlobalScope,
proto: Option<HandleObject<'_>>,
can_gc: CanGc,
numberSequence: Vec<f64>,
) -> Fallible<DomRoot<D::TestBinding>>;
fn Constructor__(
global: &D::GlobalScope,
proto: Option<HandleObject<'_>>,
can_gc: CanGc,
num: f64,
) -> Fallible<DomRoot<D::TestBinding>>;
}
Required Methods§
fn BooleanAttribute(&self) -> bool
fn SetBooleanAttribute(&self, value: bool)
fn ByteAttribute(&self) -> i8
fn SetByteAttribute(&self, value: i8)
fn OctetAttribute(&self) -> u8
fn SetOctetAttribute(&self, value: u8)
fn ShortAttribute(&self) -> i16
fn SetShortAttribute(&self, value: i16)
fn UnsignedShortAttribute(&self) -> u16
fn SetUnsignedShortAttribute(&self, value: u16)
fn LongAttribute(&self) -> i32
fn SetLongAttribute(&self, value: i32)
fn UnsignedLongAttribute(&self) -> u32
fn SetUnsignedLongAttribute(&self, value: u32)
fn LongLongAttribute(&self) -> i64
fn SetLongLongAttribute(&self, value: i64)
fn UnsignedLongLongAttribute(&self) -> u64
fn SetUnsignedLongLongAttribute(&self, value: u64)
fn UnrestrictedFloatAttribute(&self) -> f32
fn SetUnrestrictedFloatAttribute(&self, value: f32)
fn FloatAttribute(&self) -> Finite<f32>
fn SetFloatAttribute(&self, value: Finite<f32>)
fn UnrestrictedDoubleAttribute(&self) -> f64
fn SetUnrestrictedDoubleAttribute(&self, value: f64)
fn DoubleAttribute(&self) -> Finite<f64>
fn SetDoubleAttribute(&self, value: Finite<f64>)
fn StringAttribute(&self) -> DOMString
fn SetStringAttribute(&self, value: DOMString)
fn UsvstringAttribute(&self) -> USVString
fn SetUsvstringAttribute(&self, value: USVString)
fn ByteStringAttribute(&self) -> ByteString
fn SetByteStringAttribute(&self, value: ByteString)
fn EnumAttribute(&self) -> TestEnum
fn SetEnumAttribute(&self, value: TestEnum)
fn InterfaceAttribute(&self, _can_gc: CanGc) -> DomRoot<D::Blob>
fn SetInterfaceAttribute(&self, value: &D::Blob)
fn UnionAttribute(&self) -> HTMLElementOrLong<D>
fn SetUnionAttribute(&self, value: HTMLElementOrLong<D>)
fn Union2Attribute(&self) -> EventOrString<D>
fn SetUnion2Attribute(&self, value: EventOrString<D>)
fn Union3Attribute(&self) -> EventOrUSVString<D>
fn SetUnion3Attribute(&self, value: EventOrUSVString<D>)
fn Union4Attribute(&self) -> StringOrUnsignedLong
fn SetUnion4Attribute(&self, value: StringOrUnsignedLong)
fn Union5Attribute(&self) -> StringOrBoolean
fn SetUnion5Attribute(&self, value: StringOrBoolean)
fn Union6Attribute(&self) -> UnsignedLongOrBoolean
fn SetUnion6Attribute(&self, value: UnsignedLongOrBoolean)
fn Union7Attribute(&self) -> BlobOrBoolean<D>
fn SetUnion7Attribute(&self, value: BlobOrBoolean<D>)
fn Union8Attribute(&self) -> BlobOrUnsignedLong<D>
fn SetUnion8Attribute(&self, value: BlobOrUnsignedLong<D>)
fn Union9Attribute(&self) -> ByteStringOrLong
fn SetUnion9Attribute(&self, value: ByteStringOrLong)
fn ArrayAttribute(&self, cx: SafeJSContext) -> Uint8ClampedArray
fn AnyAttribute(&self, cx: SafeJSContext, retval: MutableHandleValue<'_>)
fn SetAnyAttribute(&self, cx: SafeJSContext, value: HandleValue<'_>)
fn ObjectAttribute(&self, cx: SafeJSContext) -> NonNull<JSObject>
fn SetObjectAttribute(&self, cx: SafeJSContext, value: *mut JSObject)
fn GetBooleanAttributeNullable(&self) -> Option<bool>
fn SetBooleanAttributeNullable(&self, value: Option<bool>)
fn GetByteAttributeNullable(&self) -> Option<i8>
fn SetByteAttributeNullable(&self, value: Option<i8>)
fn GetOctetAttributeNullable(&self) -> Option<u8>
fn SetOctetAttributeNullable(&self, value: Option<u8>)
fn GetShortAttributeNullable(&self) -> Option<i16>
fn SetShortAttributeNullable(&self, value: Option<i16>)
fn GetUnsignedShortAttributeNullable(&self) -> Option<u16>
fn SetUnsignedShortAttributeNullable(&self, value: Option<u16>)
fn GetLongAttributeNullable(&self) -> Option<i32>
fn SetLongAttributeNullable(&self, value: Option<i32>)
fn GetUnsignedLongAttributeNullable(&self) -> Option<u32>
fn SetUnsignedLongAttributeNullable(&self, value: Option<u32>)
fn GetLongLongAttributeNullable(&self) -> Option<i64>
fn SetLongLongAttributeNullable(&self, value: Option<i64>)
fn GetUnsignedLongLongAttributeNullable(&self) -> Option<u64>
fn SetUnsignedLongLongAttributeNullable(&self, value: Option<u64>)
fn GetUnrestrictedFloatAttributeNullable(&self) -> Option<f32>
fn SetUnrestrictedFloatAttributeNullable(&self, value: Option<f32>)
fn GetFloatAttributeNullable(&self) -> Option<Finite<f32>>
fn SetFloatAttributeNullable(&self, value: Option<Finite<f32>>)
fn GetUnrestrictedDoubleAttributeNullable(&self) -> Option<f64>
fn SetUnrestrictedDoubleAttributeNullable(&self, value: Option<f64>)
fn GetDoubleAttributeNullable(&self) -> Option<Finite<f64>>
fn SetDoubleAttributeNullable(&self, value: Option<Finite<f64>>)
fn GetStringAttributeNullable(&self) -> Option<DOMString>
fn SetStringAttributeNullable(&self, value: Option<DOMString>)
fn GetUsvstringAttributeNullable(&self) -> Option<USVString>
fn SetUsvstringAttributeNullable(&self, value: Option<USVString>)
fn GetByteStringAttributeNullable(&self) -> Option<ByteString>
fn SetByteStringAttributeNullable(&self, value: Option<ByteString>)
fn GetEnumAttributeNullable(&self) -> Option<TestEnum>
fn GetInterfaceAttributeNullable( &self, _can_gc: CanGc, ) -> Option<DomRoot<D::Blob>>
fn SetInterfaceAttributeNullable(&self, value: Option<&D::Blob>)
fn GetInterfaceAttributeWeak(&self) -> Option<DomRoot<D::URL>>
fn SetInterfaceAttributeWeak(&self, value: Option<&D::URL>)
fn GetObjectAttributeNullable( &self, cx: SafeJSContext, ) -> Option<NonNull<JSObject>>
fn SetObjectAttributeNullable(&self, cx: SafeJSContext, value: *mut JSObject)
fn GetUnionAttributeNullable(&self) -> Option<HTMLElementOrLong<D>>
fn SetUnionAttributeNullable(&self, value: Option<HTMLElementOrLong<D>>)
fn GetUnion2AttributeNullable(&self) -> Option<EventOrString<D>>
fn SetUnion2AttributeNullable(&self, value: Option<EventOrString<D>>)
fn GetUnion3AttributeNullable(&self) -> Option<BlobOrBoolean<D>>
fn SetUnion3AttributeNullable(&self, value: Option<BlobOrBoolean<D>>)
fn GetUnion4AttributeNullable(&self) -> Option<UnsignedLongOrBoolean>
fn SetUnion4AttributeNullable(&self, value: Option<UnsignedLongOrBoolean>)
fn GetUnion5AttributeNullable(&self) -> Option<StringOrBoolean>
fn SetUnion5AttributeNullable(&self, value: Option<StringOrBoolean>)
fn GetUnion6AttributeNullable(&self) -> Option<ByteStringOrLong>
fn SetUnion6AttributeNullable(&self, value: Option<ByteStringOrLong>)
fn BinaryRenamedAttribute(&self) -> DOMString
fn SetBinaryRenamedAttribute(&self, value: DOMString)
fn BinaryRenamedAttribute2(&self) -> DOMString
fn SetBinaryRenamedAttribute2(&self, value: DOMString)
fn Attr_to_automatically_rename(&self) -> DOMString
fn SetAttr_to_automatically_rename(&self, value: DOMString)
fn ForwardedAttribute(&self) -> DomRoot<D::TestBinding>
fn BinaryRenamedMethod(&self)
fn ReceiveVoid(&self)
fn ReceiveBoolean(&self) -> bool
fn ReceiveByte(&self) -> i8
fn ReceiveOctet(&self) -> u8
fn ReceiveShort(&self) -> i16
fn ReceiveUnsignedShort(&self) -> u16
fn ReceiveLong(&self) -> i32
fn ReceiveUnsignedLong(&self) -> u32
fn ReceiveLongLong(&self) -> i64
fn ReceiveUnsignedLongLong(&self) -> u64
fn ReceiveUnrestrictedFloat(&self) -> f32
fn ReceiveFloat(&self) -> Finite<f32>
fn ReceiveUnrestrictedDouble(&self) -> f64
fn ReceiveDouble(&self) -> Finite<f64>
fn ReceiveString(&self) -> DOMString
fn ReceiveUsvstring(&self) -> USVString
fn ReceiveByteString(&self) -> ByteString
fn ReceiveEnum(&self) -> TestEnum
fn ReceiveInterface(&self, _can_gc: CanGc) -> DomRoot<D::Blob>
fn ReceiveAny(&self, cx: SafeJSContext, rval: MutableHandleValue<'_>)
fn ReceiveObject(&self, cx: SafeJSContext) -> NonNull<JSObject>
fn ReceiveUnion(&self) -> HTMLElementOrLong<D>
fn ReceiveUnion2(&self) -> EventOrString<D>
fn ReceiveUnion3(&self) -> StringOrLongSequence
fn ReceiveUnion4(&self) -> StringOrStringSequence
fn ReceiveUnion5(&self) -> BlobOrBlobSequence<D>
fn ReceiveUnion6(&self) -> StringOrUnsignedLong
fn ReceiveUnion7(&self) -> StringOrBoolean
fn ReceiveUnion8(&self) -> UnsignedLongOrBoolean
fn ReceiveUnion9(&self) -> HTMLElementOrUnsignedLongOrStringOrBoolean<D>
fn ReceiveUnion10(&self) -> ByteStringOrLong
fn ReceiveUnion11(&self) -> ByteStringSequenceOrLongOrString
fn ReceiveSequence(&self) -> Vec<i32>
fn ReceiveInterfaceSequence(&self, _can_gc: CanGc) -> Vec<DomRoot<D::Blob>>
fn ReceiveNullableByte(&self) -> Option<i8>
fn ReceiveNullableBoolean(&self) -> Option<bool>
fn ReceiveNullableOctet(&self) -> Option<u8>
fn ReceiveNullableShort(&self) -> Option<i16>
fn ReceiveNullableUnsignedShort(&self) -> Option<u16>
fn ReceiveNullableLong(&self) -> Option<i32>
fn ReceiveNullableUnsignedLong(&self) -> Option<u32>
fn ReceiveNullableLongLong(&self) -> Option<i64>
fn ReceiveNullableUnsignedLongLong(&self) -> Option<u64>
fn ReceiveNullableUnrestrictedFloat(&self) -> Option<f32>
fn ReceiveNullableFloat(&self) -> Option<Finite<f32>>
fn ReceiveNullableUnrestrictedDouble(&self) -> Option<f64>
fn ReceiveNullableDouble(&self) -> Option<Finite<f64>>
fn ReceiveNullableString(&self) -> Option<DOMString>
fn ReceiveNullableUsvstring(&self) -> Option<USVString>
fn ReceiveNullableByteString(&self) -> Option<ByteString>
fn ReceiveNullableEnum(&self) -> Option<TestEnum>
fn ReceiveNullableInterface(&self, _can_gc: CanGc) -> Option<DomRoot<D::Blob>>
fn ReceiveNullableObject(&self, cx: SafeJSContext) -> Option<NonNull<JSObject>>
fn ReceiveNullableUnion(&self) -> Option<HTMLElementOrLong<D>>
fn ReceiveNullableUnion2(&self) -> Option<EventOrString<D>>
fn ReceiveNullableUnion3(&self) -> Option<StringOrLongSequence>
fn ReceiveNullableUnion4(&self) -> Option<LongSequenceOrBoolean>
fn ReceiveNullableUnion5(&self) -> Option<UnsignedLongOrBoolean>
fn ReceiveNullableUnion6(&self) -> Option<ByteStringOrLong>
fn ReceiveNullableSequence(&self) -> Option<Vec<i32>>
fn ReceiveTestDictionaryWithSuccessOnKeyword( &self, ) -> RootedTraceableBox<TestDictionary<D>>
fn DictMatchesPassedValues( &self, arg: RootedTraceableBox<TestDictionary<D>>, ) -> bool
fn ReceiveUnionIdentity( &self, cx: SafeJSContext, arg: StringOrObject, ) -> StringOrObject
fn PassBoolean(&self, arg: bool)
fn PassByte(&self, arg: i8)
fn PassOctet(&self, arg: u8)
fn PassShort(&self, arg: i16)
fn PassUnsignedShort(&self, arg: u16)
fn PassLong(&self, arg: i32)
fn PassUnsignedLong(&self, arg: u32)
fn PassLongLong(&self, arg: i64)
fn PassUnsignedLongLong(&self, arg: u64)
fn PassUnrestrictedFloat(&self, arg: f32)
fn PassFloat(&self, arg: Finite<f32>)
fn PassUnrestrictedDouble(&self, arg: f64)
fn PassDouble(&self, arg: Finite<f64>)
fn PassString(&self, arg: DOMString)
fn PassUsvstring(&self, arg: USVString)
fn PassByteString(&self, arg: ByteString)
fn PassEnum(&self, arg: TestEnum)
fn PassInterface(&self, arg: &D::Blob)
fn PassTypedArray(&self, arg: CustomAutoRooterGuard<'_, Int8Array>)
fn PassTypedArray2(&self, arg: CustomAutoRooterGuard<'_, ArrayBuffer>)
fn PassTypedArray3(&self, arg: CustomAutoRooterGuard<'_, ArrayBufferView>)
fn PassUnion(&self, arg: HTMLElementOrLong<D>)
fn PassUnion2(&self, data: EventOrString<D>)
fn PassUnion3(&self, data: BlobOrString<D>)
fn PassUnion4(&self, seq: StringOrStringSequence)
fn PassUnion5(&self, data: StringOrBoolean)
fn PassUnion6(&self, bool: UnsignedLongOrBoolean)
fn PassUnion7(&self, arg: StringSequenceOrUnsignedLong)
fn PassUnion8(&self, arg: ByteStringSequenceOrLong)
fn PassUnion9(&self, arg: TestDictionaryOrLong<D>)
fn PassUnion10(&self, cx: SafeJSContext, arg: StringOrObject)
fn PassUnion11(&self, arg: ArrayBufferOrArrayBufferView)
fn PassUnionWithTypedef(&self, arg: DocumentOrStringOrURLOrBlob<D>)
fn PassUnionWithTypedef2(&self, arg: LongSequenceOrStringOrURLOrBlob<D>)
fn PassAny(&self, cx: SafeJSContext, arg: HandleValue<'_>)
fn PassObject(&self, cx: SafeJSContext, arg: *mut JSObject)
fn PassCallbackFunction(&self, fun: Rc<Function<D>>)
fn PassCallbackInterface(&self, listener: Rc<EventListener<D>>)
fn PassSequence(&self, seq: Vec<i32>)
fn PassAnySequence( &self, cx: SafeJSContext, seq: CustomAutoRooterGuard<'_, Vec<JSVal>>, )
fn AnySequencePassthrough( &self, cx: SafeJSContext, seq: CustomAutoRooterGuard<'_, Vec<JSVal>>, ) -> Vec<JSVal>
fn PassObjectSequence( &self, cx: SafeJSContext, seq: CustomAutoRooterGuard<'_, Vec<*mut JSObject>>, )
fn PassStringSequence(&self, seq: Vec<DOMString>)
fn PassInterfaceSequence(&self, seq: Vec<DomRoot<D::Blob>>)
fn PassOverloaded(&self, arg: CustomAutoRooterGuard<'_, ArrayBuffer>)
fn PassOverloaded_(&self, arg: DOMString)
fn PassOverloadedDict(&self, arg: &D::Node) -> DOMString
fn PassOverloadedDict_(&self, arg: &TestURLLike) -> DOMString
fn PassNullableBoolean(&self, arg: Option<bool>)
fn PassNullableByte(&self, arg: Option<i8>)
fn PassNullableOctet(&self, arg: Option<u8>)
fn PassNullableShort(&self, arg: Option<i16>)
fn PassNullableUnsignedShort(&self, arg: Option<u16>)
fn PassNullableLong(&self, arg: Option<i32>)
fn PassNullableUnsignedLong(&self, arg: Option<u32>)
fn PassNullableLongLong(&self, arg: Option<i64>)
fn PassNullableUnsignedLongLong(&self, arg: Option<u64>)
fn PassNullableUnrestrictedFloat(&self, arg: Option<f32>)
fn PassNullableFloat(&self, arg: Option<Finite<f32>>)
fn PassNullableUnrestrictedDouble(&self, arg: Option<f64>)
fn PassNullableDouble(&self, arg: Option<Finite<f64>>)
fn PassNullableString(&self, arg: Option<DOMString>)
fn PassNullableUsvstring(&self, arg: Option<USVString>)
fn PassNullableByteString(&self, arg: Option<ByteString>)
fn PassNullableInterface(&self, arg: Option<&D::Blob>)
fn PassNullableObject(&self, cx: SafeJSContext, arg: *mut JSObject)
fn PassNullableTypedArray( &self, arg: CustomAutoRooterGuard<'_, Option<Int8Array>>, )
fn PassNullableUnion(&self, arg: Option<HTMLElementOrLong<D>>)
fn PassNullableUnion2(&self, data: Option<EventOrString<D>>)
fn PassNullableUnion3(&self, data: Option<StringOrLongSequence>)
fn PassNullableUnion4(&self, bool: Option<LongSequenceOrBoolean>)
fn PassNullableUnion5(&self, arg: Option<UnsignedLongOrBoolean>)
fn PassNullableUnion6(&self, arg: Option<ByteStringOrLong>)
fn PassNullableCallbackFunction(&self, fun: Option<Rc<Function<D>>>)
fn PassNullableCallbackInterface(&self, listener: Option<Rc<EventListener<D>>>)
fn PassNullableSequence(&self, seq: Option<Vec<i32>>)
fn PassOptionalBoolean(&self, arg: Option<bool>)
fn PassOptionalByte(&self, arg: Option<i8>)
fn PassOptionalOctet(&self, arg: Option<u8>)
fn PassOptionalShort(&self, arg: Option<i16>)
fn PassOptionalUnsignedShort(&self, arg: Option<u16>)
fn PassOptionalLong(&self, arg: Option<i32>)
fn PassOptionalUnsignedLong(&self, arg: Option<u32>)
fn PassOptionalLongLong(&self, arg: Option<i64>)
fn PassOptionalUnsignedLongLong(&self, arg: Option<u64>)
fn PassOptionalUnrestrictedFloat(&self, arg: Option<f32>)
fn PassOptionalFloat(&self, arg: Option<Finite<f32>>)
fn PassOptionalUnrestrictedDouble(&self, arg: Option<f64>)
fn PassOptionalDouble(&self, arg: Option<Finite<f64>>)
fn PassOptionalString(&self, arg: Option<DOMString>)
fn PassOptionalUsvstring(&self, arg: Option<USVString>)
fn PassOptionalByteString(&self, arg: Option<ByteString>)
fn PassOptionalEnum(&self, arg: Option<TestEnum>)
fn PassOptionalInterface(&self, arg: Option<&D::Blob>)
fn PassOptionalUnion(&self, arg: Option<HTMLElementOrLong<D>>)
fn PassOptionalUnion2(&self, data: Option<EventOrString<D>>)
fn PassOptionalUnion3(&self, arg: Option<StringOrLongSequence>)
fn PassOptionalUnion4(&self, data: Option<LongSequenceOrBoolean>)
fn PassOptionalUnion5(&self, bool: Option<UnsignedLongOrBoolean>)
fn PassOptionalUnion6(&self, arg: Option<ByteStringOrLong>)
fn PassOptionalAny(&self, cx: SafeJSContext, arg: HandleValue<'_>)
fn PassOptionalObject(&self, cx: SafeJSContext, arg: Option<*mut JSObject>)
fn PassOptionalCallbackFunction(&self, fun: Option<Rc<Function<D>>>)
fn PassOptionalCallbackInterface(&self, listener: Option<Rc<EventListener<D>>>)
fn PassOptionalSequence(&self, seq: Option<Vec<i32>>)
fn PassOptionalNullableBoolean(&self, arg: Option<Option<bool>>)
fn PassOptionalNullableByte(&self, arg: Option<Option<i8>>)
fn PassOptionalNullableOctet(&self, arg: Option<Option<u8>>)
fn PassOptionalNullableShort(&self, arg: Option<Option<i16>>)
fn PassOptionalNullableUnsignedShort(&self, arg: Option<Option<u16>>)
fn PassOptionalNullableLong(&self, arg: Option<Option<i32>>)
fn PassOptionalNullableUnsignedLong(&self, arg: Option<Option<u32>>)
fn PassOptionalNullableLongLong(&self, arg: Option<Option<i64>>)
fn PassOptionalNullableUnsignedLongLong(&self, arg: Option<Option<u64>>)
fn PassOptionalNullableUnrestrictedFloat(&self, arg: Option<Option<f32>>)
fn PassOptionalNullableFloat(&self, arg: Option<Option<Finite<f32>>>)
fn PassOptionalNullableUnrestrictedDouble(&self, arg: Option<Option<f64>>)
fn PassOptionalNullableDouble(&self, arg: Option<Option<Finite<f64>>>)
fn PassOptionalNullableString(&self, arg: Option<Option<DOMString>>)
fn PassOptionalNullableUsvstring(&self, arg: Option<Option<USVString>>)
fn PassOptionalNullableByteString(&self, arg: Option<Option<ByteString>>)
fn PassOptionalNullableInterface(&self, arg: Option<Option<&D::Blob>>)
fn PassOptionalNullableObject( &self, cx: SafeJSContext, arg: Option<*mut JSObject>, )
fn PassOptionalNullableUnion(&self, arg: Option<Option<HTMLElementOrLong<D>>>)
fn PassOptionalNullableUnion2(&self, data: Option<Option<EventOrString<D>>>)
fn PassOptionalNullableUnion3(&self, arg: Option<Option<StringOrLongSequence>>)
fn PassOptionalNullableUnion4( &self, data: Option<Option<LongSequenceOrBoolean>>, )
fn PassOptionalNullableUnion5( &self, bool: Option<Option<UnsignedLongOrBoolean>>, )
fn PassOptionalNullableUnion6(&self, arg: Option<Option<ByteStringOrLong>>)
fn PassOptionalNullableCallbackFunction( &self, fun: Option<Option<Rc<Function<D>>>>, )
fn PassOptionalNullableCallbackInterface( &self, listener: Option<Option<Rc<EventListener<D>>>>, )
fn PassOptionalNullableSequence(&self, seq: Option<Option<Vec<i32>>>)
fn PassOptionalBooleanWithDefault(&self, arg: bool)
fn PassOptionalByteWithDefault(&self, arg: i8)
fn PassOptionalOctetWithDefault(&self, arg: u8)
fn PassOptionalShortWithDefault(&self, arg: i16)
fn PassOptionalUnsignedShortWithDefault(&self, arg: u16)
fn PassOptionalLongWithDefault(&self, arg: i32)
fn PassOptionalUnsignedLongWithDefault(&self, arg: u32)
fn PassOptionalLongLongWithDefault(&self, arg: i64)
fn PassOptionalUnsignedLongLongWithDefault(&self, arg: u64)
fn PassOptionalBytestringWithDefault(&self, arg: ByteString)
fn PassOptionalStringWithDefault(&self, arg: DOMString)
fn PassOptionalUsvstringWithDefault(&self, arg: USVString)
fn PassOptionalEnumWithDefault(&self, arg: TestEnum)
fn PassOptionalSequenceWithDefault(&self, seq: Vec<i32>)
fn PassOptionalNullableBooleanWithDefault(&self, arg: Option<bool>)
fn PassOptionalNullableByteWithDefault(&self, arg: Option<i8>)
fn PassOptionalNullableOctetWithDefault(&self, arg: Option<u8>)
fn PassOptionalNullableShortWithDefault(&self, arg: Option<i16>)
fn PassOptionalNullableUnsignedShortWithDefault(&self, arg: Option<u16>)
fn PassOptionalNullableLongWithDefault(&self, arg: Option<i32>)
fn PassOptionalNullableUnsignedLongWithDefault(&self, arg: Option<u32>)
fn PassOptionalNullableLongLongWithDefault(&self, arg: Option<i64>)
fn PassOptionalNullableUnsignedLongLongWithDefault(&self, arg: Option<u64>)
fn PassOptionalNullableStringWithDefault(&self, arg: Option<DOMString>)
fn PassOptionalNullableUsvstringWithDefault(&self, arg: Option<USVString>)
fn PassOptionalNullableByteStringWithDefault(&self, arg: Option<ByteString>)
fn PassOptionalNullableInterfaceWithDefault(&self, arg: Option<&D::Blob>)
fn PassOptionalNullableObjectWithDefault( &self, cx: SafeJSContext, arg: *mut JSObject, )
fn PassOptionalNullableUnionWithDefault( &self, arg: Option<HTMLElementOrLong<D>>, )
fn PassOptionalNullableUnion2WithDefault(&self, data: Option<EventOrString<D>>)
fn PassOptionalNullableCallbackInterfaceWithDefault( &self, listener: Option<Rc<EventListener<D>>>, )
fn PassOptionalAnyWithDefault(&self, cx: SafeJSContext, arg: HandleValue<'_>)
fn PassOptionalNullableBooleanWithNonNullDefault(&self, arg: Option<bool>)
fn PassOptionalNullableByteWithNonNullDefault(&self, arg: Option<i8>)
fn PassOptionalNullableOctetWithNonNullDefault(&self, arg: Option<u8>)
fn PassOptionalNullableShortWithNonNullDefault(&self, arg: Option<i16>)
fn PassOptionalNullableUnsignedShortWithNonNullDefault(&self, arg: Option<u16>)
fn PassOptionalNullableLongWithNonNullDefault(&self, arg: Option<i32>)
fn PassOptionalNullableUnsignedLongWithNonNullDefault(&self, arg: Option<u32>)
fn PassOptionalNullableLongLongWithNonNullDefault(&self, arg: Option<i64>)
fn PassOptionalNullableUnsignedLongLongWithNonNullDefault( &self, arg: Option<u64>, )
fn PassOptionalNullableStringWithNonNullDefault(&self, arg: Option<DOMString>)
fn PassOptionalNullableUsvstringWithNonNullDefault( &self, arg: Option<USVString>, )
fn PassOptionalOverloaded( &self, arg0: &D::TestBinding, arg1: u32, arg2: u32, ) -> DomRoot<D::TestBinding>
fn PassOptionalOverloaded_(&self, arg0: &D::Blob, arg1: u32)
fn PassVariadicBoolean(&self, args: Vec<bool>)
fn PassVariadicBooleanAndDefault(&self, arg: bool, args: Vec<bool>)
fn PassVariadicByte(&self, args: Vec<i8>)
fn PassVariadicOctet(&self, args: Vec<u8>)
fn PassVariadicShort(&self, args: Vec<i16>)
fn PassVariadicUnsignedShort(&self, args: Vec<u16>)
fn PassVariadicLong(&self, args: Vec<i32>)
fn PassVariadicUnsignedLong(&self, args: Vec<u32>)
fn PassVariadicLongLong(&self, args: Vec<i64>)
fn PassVariadicUnsignedLongLong(&self, args: Vec<u64>)
fn PassVariadicUnrestrictedFloat(&self, args: Vec<f32>)
fn PassVariadicFloat(&self, args: Vec<Finite<f32>>)
fn PassVariadicUnrestrictedDouble(&self, args: Vec<f64>)
fn PassVariadicDouble(&self, args: Vec<Finite<f64>>)
fn PassVariadicString(&self, args: Vec<DOMString>)
fn PassVariadicUsvstring(&self, args: Vec<USVString>)
fn PassVariadicByteString(&self, args: Vec<ByteString>)
fn PassVariadicEnum(&self, args: Vec<TestEnum>)
fn PassVariadicInterface(&self, args: &[&D::Blob])
fn PassVariadicUnion(&self, args: Vec<HTMLElementOrLong<D>>)
fn PassVariadicUnion2(&self, args: Vec<EventOrString<D>>)
fn PassVariadicUnion3(&self, args: Vec<BlobOrString<D>>)
fn PassVariadicUnion4(&self, args: Vec<BlobOrBoolean<D>>)
fn PassVariadicUnion5(&self, args: Vec<StringOrUnsignedLong>)
fn PassVariadicUnion6(&self, args: Vec<UnsignedLongOrBoolean>)
fn PassVariadicUnion7(&self, args: Vec<ByteStringOrLong>)
fn PassVariadicAny(&self, cx: SafeJSContext, args: Vec<HandleValue<'_>>)
fn PassVariadicObject(&self, cx: SafeJSContext, args: Vec<*mut JSObject>)
fn PassSequenceSequence(&self, seq: Vec<Vec<i32>>)
fn ReturnSequenceSequence(&self) -> Vec<Vec<i32>>
fn PassUnionSequenceSequence(&self, seq: LongOrLongSequenceSequence)
fn PassRecordPromise(&self, arg: Record<DOMString, Rc<D::Promise>>)
fn PassRecord(&self, arg: Record<DOMString, i32>)
fn PassRecordWithUSVStringKey(&self, arg: Record<USVString, i32>)
fn PassRecordWithByteStringKey(&self, arg: Record<ByteString, i32>)
fn PassNullableRecord(&self, arg: Option<Record<DOMString, i32>>)
fn PassRecordOfNullableInts(&self, arg: Record<DOMString, Option<i32>>)
fn PassOptionalRecordOfNullableInts( &self, arg: Option<Record<DOMString, Option<i32>>>, )
fn PassOptionalNullableRecordOfNullableInts( &self, arg: Option<Option<Record<DOMString, Option<i32>>>>, )
fn PassCastableObjectRecord( &self, arg: Record<DOMString, DomRoot<D::TestBinding>>, )
fn PassNullableCastableObjectRecord( &self, arg: Record<DOMString, Option<DomRoot<D::TestBinding>>>, )
fn PassCastableObjectNullableRecord( &self, arg: Option<Record<DOMString, DomRoot<D::TestBinding>>>, )
fn PassNullableCastableObjectNullableRecord( &self, arg: Option<Record<DOMString, Option<DomRoot<D::TestBinding>>>>, )
fn PassOptionalRecord(&self, arg: Option<Record<DOMString, i32>>)
fn PassOptionalNullableRecord( &self, arg: Option<Option<Record<DOMString, i32>>>, )
fn PassOptionalNullableRecordWithDefaultValue( &self, arg: Option<Record<DOMString, i32>>, )
fn PassOptionalObjectRecord( &self, arg: Option<Record<DOMString, DomRoot<D::TestBinding>>>, )
fn PassStringRecord(&self, arg: Record<DOMString, DOMString>)
fn PassByteStringRecord(&self, arg: Record<DOMString, ByteString>)
fn PassRecordOfRecords(&self, arg: Record<DOMString, Record<DOMString, i32>>)
fn PassRecordUnion(&self, init: LongOrStringByteStringRecord)
fn PassRecordUnion2(&self, init: TestBindingOrStringByteStringRecord<D>)
fn PassRecordUnion3( &self, init: TestBindingOrByteStringSequenceSequenceOrStringByteStringRecord<D>, )
fn ReceiveRecord(&self) -> Record<DOMString, i32>
fn ReceiveRecordWithUSVStringKey(&self) -> Record<USVString, i32>
fn ReceiveRecordWithByteStringKey(&self) -> Record<ByteString, i32>
fn ReceiveNullableRecord(&self) -> Option<Record<DOMString, i32>>
fn ReceiveRecordOfNullableInts(&self) -> Record<DOMString, Option<i32>>
fn ReceiveNullableRecordOfNullableInts( &self, ) -> Option<Record<DOMString, Option<i32>>>
fn ReceiveRecordOfRecords(&self) -> Record<DOMString, Record<DOMString, i32>>
fn ReceiveAnyRecord(&self) -> Record<DOMString, JSVal>
fn BooleanAttributeStatic(global: &D::GlobalScope) -> bool
fn SetBooleanAttributeStatic(global: &D::GlobalScope, value: bool)
fn ReceiveVoidStatic(global: &D::GlobalScope)
fn BooleanMozPreference(&self, pref_name: DOMString) -> bool
fn StringMozPreference(&self, pref_name: DOMString) -> DOMString
fn PrefControlledAttributeDisabled(&self) -> bool
fn PrefControlledStaticAttributeDisabled(global: &D::GlobalScope) -> bool
fn PrefControlledMethodDisabled(&self)
fn PrefControlledStaticMethodDisabled(global: &D::GlobalScope)
fn AdvanceClock(&self, millis: i32)
fn PrefControlledAttributeEnabled(&self) -> bool
fn PrefControlledStaticAttributeEnabled(global: &D::GlobalScope) -> bool
fn PrefControlledMethodEnabled(&self)
fn PrefControlledStaticMethodEnabled(global: &D::GlobalScope)
fn FuncControlledAttributeDisabled(&self) -> bool
fn FuncControlledStaticAttributeDisabled(global: &D::GlobalScope) -> bool
fn FuncControlledMethodDisabled(&self)
fn FuncControlledStaticMethodDisabled(global: &D::GlobalScope)
fn FuncControlledAttributeEnabled(&self) -> bool
fn FuncControlledStaticAttributeEnabled(global: &D::GlobalScope) -> bool
fn FuncControlledMethodEnabled(&self)
fn FuncControlledStaticMethodEnabled(global: &D::GlobalScope)
fn ReturnResolvedPromise( &self, cx: SafeJSContext, value: HandleValue<'_>, ) -> Rc<D::Promise>
fn ReturnRejectedPromise( &self, cx: SafeJSContext, value: HandleValue<'_>, ) -> Rc<D::Promise>
fn PromiseAttribute(&self, _comp: InRealm<'_>, _can_gc: CanGc) -> Rc<D::Promise>
fn AcceptPromise(&self, string: &D::Promise)
fn PromiseNativeHandler( &self, resolve: Option<Rc<SimpleCallback<D>>>, reject: Option<Rc<SimpleCallback<D>>>, _comp: InRealm<'_>, _can_gc: CanGc, ) -> Rc<D::Promise>
fn PromiseResolveNative( &self, cx: SafeJSContext, p: &D::Promise, value: HandleValue<'_>, _can_gc: CanGc, )
fn PromiseRejectNative( &self, cx: SafeJSContext, p: &D::Promise, value: HandleValue<'_>, _can_gc: CanGc, )
fn PromiseRejectWithTypeError( &self, p: &D::Promise, message: USVString, _can_gc: CanGc, )
fn ResolvePromiseDelayed(&self, p: &D::Promise, value: DOMString, ms: u64)
fn StaticThrowToRejectPromise( global: &D::GlobalScope, ) -> Fallible<Rc<D::Promise>>
fn MethodThrowToRejectPromise(&self) -> Fallible<Rc<D::Promise>>
fn GetGetterThrowToRejectPromise(&self) -> Fallible<Rc<D::Promise>>
fn StaticInternalThrowToRejectPromise( global: &D::GlobalScope, arg: u64, ) -> Rc<D::Promise>
fn MethodInternalThrowToRejectPromise(&self, arg: u64) -> Rc<D::Promise>
fn Panic(&self)
fn EntryGlobal(&self) -> DomRoot<D::GlobalScope>
fn IncumbentGlobal(&self) -> DomRoot<D::GlobalScope>
fn SemiExposedBoolFromInterface(&self) -> bool
fn GetDictionaryWithParent( &self, parent: DOMString, child: DOMString, ) -> TestDictionaryWithParent
fn BoolFromSemiExposedPartialInterface(&self) -> bool
fn SemiExposedBoolFromPartialInterface(&self) -> bool
fn CrashHard(&self)
fn Constructor( global: &D::GlobalScope, proto: Option<HandleObject<'_>>, can_gc: CanGc, ) -> Fallible<DomRoot<D::TestBinding>>
fn Constructor_( global: &D::GlobalScope, proto: Option<HandleObject<'_>>, can_gc: CanGc, numberSequence: Vec<f64>, ) -> Fallible<DomRoot<D::TestBinding>>
fn Constructor__( global: &D::GlobalScope, proto: Option<HandleObject<'_>>, can_gc: CanGc, num: f64, ) -> Fallible<DomRoot<D::TestBinding>>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.