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§

Source

fn BooleanAttribute(&self) -> bool

Source

fn SetBooleanAttribute(&self, value: bool)

Source

fn ByteAttribute(&self) -> i8

Source

fn SetByteAttribute(&self, value: i8)

Source

fn OctetAttribute(&self) -> u8

Source

fn SetOctetAttribute(&self, value: u8)

Source

fn ShortAttribute(&self) -> i16

Source

fn SetShortAttribute(&self, value: i16)

Source

fn UnsignedShortAttribute(&self) -> u16

Source

fn SetUnsignedShortAttribute(&self, value: u16)

Source

fn LongAttribute(&self) -> i32

Source

fn SetLongAttribute(&self, value: i32)

Source

fn UnsignedLongAttribute(&self) -> u32

Source

fn SetUnsignedLongAttribute(&self, value: u32)

Source

fn LongLongAttribute(&self) -> i64

Source

fn SetLongLongAttribute(&self, value: i64)

Source

fn UnsignedLongLongAttribute(&self) -> u64

Source

fn SetUnsignedLongLongAttribute(&self, value: u64)

Source

fn UnrestrictedFloatAttribute(&self) -> f32

Source

fn SetUnrestrictedFloatAttribute(&self, value: f32)

Source

fn FloatAttribute(&self) -> Finite<f32>

Source

fn SetFloatAttribute(&self, value: Finite<f32>)

Source

fn UnrestrictedDoubleAttribute(&self) -> f64

Source

fn SetUnrestrictedDoubleAttribute(&self, value: f64)

Source

fn DoubleAttribute(&self) -> Finite<f64>

Source

fn SetDoubleAttribute(&self, value: Finite<f64>)

Source

fn StringAttribute(&self) -> DOMString

Source

fn SetStringAttribute(&self, value: DOMString)

Source

fn UsvstringAttribute(&self) -> USVString

Source

fn SetUsvstringAttribute(&self, value: USVString)

Source

fn ByteStringAttribute(&self) -> ByteString

Source

fn SetByteStringAttribute(&self, value: ByteString)

Source

fn EnumAttribute(&self) -> TestEnum

Source

fn SetEnumAttribute(&self, value: TestEnum)

Source

fn InterfaceAttribute(&self, _can_gc: CanGc) -> DomRoot<D::Blob>

Source

fn SetInterfaceAttribute(&self, value: &D::Blob)

Source

fn UnionAttribute(&self) -> HTMLElementOrLong<D>

Source

fn SetUnionAttribute(&self, value: HTMLElementOrLong<D>)

Source

fn Union2Attribute(&self) -> EventOrString<D>

Source

fn SetUnion2Attribute(&self, value: EventOrString<D>)

Source

fn Union3Attribute(&self) -> EventOrUSVString<D>

Source

fn SetUnion3Attribute(&self, value: EventOrUSVString<D>)

Source

fn Union4Attribute(&self) -> StringOrUnsignedLong

Source

fn SetUnion4Attribute(&self, value: StringOrUnsignedLong)

Source

fn Union5Attribute(&self) -> StringOrBoolean

Source

fn SetUnion5Attribute(&self, value: StringOrBoolean)

Source

fn Union6Attribute(&self) -> UnsignedLongOrBoolean

Source

fn SetUnion6Attribute(&self, value: UnsignedLongOrBoolean)

Source

fn Union7Attribute(&self) -> BlobOrBoolean<D>

Source

fn SetUnion7Attribute(&self, value: BlobOrBoolean<D>)

Source

fn Union8Attribute(&self) -> BlobOrUnsignedLong<D>

Source

fn SetUnion8Attribute(&self, value: BlobOrUnsignedLong<D>)

Source

fn Union9Attribute(&self) -> ByteStringOrLong

Source

fn SetUnion9Attribute(&self, value: ByteStringOrLong)

Source

fn ArrayAttribute(&self, cx: SafeJSContext) -> Uint8ClampedArray

Source

fn AnyAttribute(&self, cx: SafeJSContext, retval: MutableHandleValue<'_>)

Source

fn SetAnyAttribute(&self, cx: SafeJSContext, value: HandleValue<'_>)

Source

fn ObjectAttribute(&self, cx: SafeJSContext) -> NonNull<JSObject>

Source

fn SetObjectAttribute(&self, cx: SafeJSContext, value: *mut JSObject)

Source

fn GetBooleanAttributeNullable(&self) -> Option<bool>

Source

fn SetBooleanAttributeNullable(&self, value: Option<bool>)

Source

fn GetByteAttributeNullable(&self) -> Option<i8>

Source

fn SetByteAttributeNullable(&self, value: Option<i8>)

Source

fn GetOctetAttributeNullable(&self) -> Option<u8>

Source

fn SetOctetAttributeNullable(&self, value: Option<u8>)

Source

fn GetShortAttributeNullable(&self) -> Option<i16>

Source

fn SetShortAttributeNullable(&self, value: Option<i16>)

Source

fn GetUnsignedShortAttributeNullable(&self) -> Option<u16>

Source

fn SetUnsignedShortAttributeNullable(&self, value: Option<u16>)

Source

fn GetLongAttributeNullable(&self) -> Option<i32>

Source

fn SetLongAttributeNullable(&self, value: Option<i32>)

Source

fn GetUnsignedLongAttributeNullable(&self) -> Option<u32>

Source

fn SetUnsignedLongAttributeNullable(&self, value: Option<u32>)

Source

fn GetLongLongAttributeNullable(&self) -> Option<i64>

Source

fn SetLongLongAttributeNullable(&self, value: Option<i64>)

Source

fn GetUnsignedLongLongAttributeNullable(&self) -> Option<u64>

Source

fn SetUnsignedLongLongAttributeNullable(&self, value: Option<u64>)

Source

fn GetUnrestrictedFloatAttributeNullable(&self) -> Option<f32>

Source

fn SetUnrestrictedFloatAttributeNullable(&self, value: Option<f32>)

Source

fn GetFloatAttributeNullable(&self) -> Option<Finite<f32>>

Source

fn SetFloatAttributeNullable(&self, value: Option<Finite<f32>>)

Source

fn GetUnrestrictedDoubleAttributeNullable(&self) -> Option<f64>

Source

fn SetUnrestrictedDoubleAttributeNullable(&self, value: Option<f64>)

Source

fn GetDoubleAttributeNullable(&self) -> Option<Finite<f64>>

Source

fn SetDoubleAttributeNullable(&self, value: Option<Finite<f64>>)

Source

fn GetStringAttributeNullable(&self) -> Option<DOMString>

Source

fn SetStringAttributeNullable(&self, value: Option<DOMString>)

Source

fn GetUsvstringAttributeNullable(&self) -> Option<USVString>

Source

fn SetUsvstringAttributeNullable(&self, value: Option<USVString>)

Source

fn GetByteStringAttributeNullable(&self) -> Option<ByteString>

Source

fn SetByteStringAttributeNullable(&self, value: Option<ByteString>)

Source

fn GetEnumAttributeNullable(&self) -> Option<TestEnum>

Source

fn GetInterfaceAttributeNullable( &self, _can_gc: CanGc, ) -> Option<DomRoot<D::Blob>>

Source

fn SetInterfaceAttributeNullable(&self, value: Option<&D::Blob>)

Source

fn GetInterfaceAttributeWeak(&self) -> Option<DomRoot<D::URL>>

Source

fn SetInterfaceAttributeWeak(&self, value: Option<&D::URL>)

Source

fn GetObjectAttributeNullable( &self, cx: SafeJSContext, ) -> Option<NonNull<JSObject>>

Source

fn SetObjectAttributeNullable(&self, cx: SafeJSContext, value: *mut JSObject)

Source

fn GetUnionAttributeNullable(&self) -> Option<HTMLElementOrLong<D>>

Source

fn SetUnionAttributeNullable(&self, value: Option<HTMLElementOrLong<D>>)

Source

fn GetUnion2AttributeNullable(&self) -> Option<EventOrString<D>>

Source

fn SetUnion2AttributeNullable(&self, value: Option<EventOrString<D>>)

Source

fn GetUnion3AttributeNullable(&self) -> Option<BlobOrBoolean<D>>

Source

fn SetUnion3AttributeNullable(&self, value: Option<BlobOrBoolean<D>>)

Source

fn GetUnion4AttributeNullable(&self) -> Option<UnsignedLongOrBoolean>

Source

fn SetUnion4AttributeNullable(&self, value: Option<UnsignedLongOrBoolean>)

Source

fn GetUnion5AttributeNullable(&self) -> Option<StringOrBoolean>

Source

fn SetUnion5AttributeNullable(&self, value: Option<StringOrBoolean>)

Source

fn GetUnion6AttributeNullable(&self) -> Option<ByteStringOrLong>

Source

fn SetUnion6AttributeNullable(&self, value: Option<ByteStringOrLong>)

Source

fn BinaryRenamedAttribute(&self) -> DOMString

Source

fn SetBinaryRenamedAttribute(&self, value: DOMString)

Source

fn BinaryRenamedAttribute2(&self) -> DOMString

Source

fn SetBinaryRenamedAttribute2(&self, value: DOMString)

Source

fn Attr_to_automatically_rename(&self) -> DOMString

Source

fn SetAttr_to_automatically_rename(&self, value: DOMString)

Source

fn ForwardedAttribute(&self) -> DomRoot<D::TestBinding>

Source

fn BinaryRenamedMethod(&self)

Source

fn ReceiveVoid(&self)

Source

fn ReceiveBoolean(&self) -> bool

Source

fn ReceiveByte(&self) -> i8

Source

fn ReceiveOctet(&self) -> u8

Source

fn ReceiveShort(&self) -> i16

Source

fn ReceiveUnsignedShort(&self) -> u16

Source

fn ReceiveLong(&self) -> i32

Source

fn ReceiveUnsignedLong(&self) -> u32

Source

fn ReceiveLongLong(&self) -> i64

Source

fn ReceiveUnsignedLongLong(&self) -> u64

Source

fn ReceiveUnrestrictedFloat(&self) -> f32

Source

fn ReceiveFloat(&self) -> Finite<f32>

Source

fn ReceiveUnrestrictedDouble(&self) -> f64

Source

fn ReceiveDouble(&self) -> Finite<f64>

Source

fn ReceiveString(&self) -> DOMString

Source

fn ReceiveUsvstring(&self) -> USVString

Source

fn ReceiveByteString(&self) -> ByteString

Source

fn ReceiveEnum(&self) -> TestEnum

Source

fn ReceiveInterface(&self, _can_gc: CanGc) -> DomRoot<D::Blob>

Source

fn ReceiveAny(&self, cx: SafeJSContext, rval: MutableHandleValue<'_>)

Source

fn ReceiveObject(&self, cx: SafeJSContext) -> NonNull<JSObject>

Source

fn ReceiveUnion(&self) -> HTMLElementOrLong<D>

Source

fn ReceiveUnion2(&self) -> EventOrString<D>

Source

fn ReceiveUnion3(&self) -> StringOrLongSequence

Source

fn ReceiveUnion4(&self) -> StringOrStringSequence

Source

fn ReceiveUnion5(&self) -> BlobOrBlobSequence<D>

Source

fn ReceiveUnion6(&self) -> StringOrUnsignedLong

Source

fn ReceiveUnion7(&self) -> StringOrBoolean

Source

fn ReceiveUnion8(&self) -> UnsignedLongOrBoolean

Source

fn ReceiveUnion9(&self) -> HTMLElementOrUnsignedLongOrStringOrBoolean<D>

Source

fn ReceiveUnion10(&self) -> ByteStringOrLong

Source

fn ReceiveUnion11(&self) -> ByteStringSequenceOrLongOrString

Source

fn ReceiveSequence(&self) -> Vec<i32>

Source

fn ReceiveInterfaceSequence(&self, _can_gc: CanGc) -> Vec<DomRoot<D::Blob>>

Source

fn ReceiveNullableByte(&self) -> Option<i8>

Source

fn ReceiveNullableBoolean(&self) -> Option<bool>

Source

fn ReceiveNullableOctet(&self) -> Option<u8>

Source

fn ReceiveNullableShort(&self) -> Option<i16>

Source

fn ReceiveNullableUnsignedShort(&self) -> Option<u16>

Source

fn ReceiveNullableLong(&self) -> Option<i32>

Source

fn ReceiveNullableUnsignedLong(&self) -> Option<u32>

Source

fn ReceiveNullableLongLong(&self) -> Option<i64>

Source

fn ReceiveNullableUnsignedLongLong(&self) -> Option<u64>

Source

fn ReceiveNullableUnrestrictedFloat(&self) -> Option<f32>

Source

fn ReceiveNullableFloat(&self) -> Option<Finite<f32>>

Source

fn ReceiveNullableUnrestrictedDouble(&self) -> Option<f64>

Source

fn ReceiveNullableDouble(&self) -> Option<Finite<f64>>

Source

fn ReceiveNullableString(&self) -> Option<DOMString>

Source

fn ReceiveNullableUsvstring(&self) -> Option<USVString>

Source

fn ReceiveNullableByteString(&self) -> Option<ByteString>

Source

fn ReceiveNullableEnum(&self) -> Option<TestEnum>

Source

fn ReceiveNullableInterface(&self, _can_gc: CanGc) -> Option<DomRoot<D::Blob>>

Source

fn ReceiveNullableObject(&self, cx: SafeJSContext) -> Option<NonNull<JSObject>>

Source

fn ReceiveNullableUnion(&self) -> Option<HTMLElementOrLong<D>>

Source

fn ReceiveNullableUnion2(&self) -> Option<EventOrString<D>>

Source

fn ReceiveNullableUnion3(&self) -> Option<StringOrLongSequence>

Source

fn ReceiveNullableUnion4(&self) -> Option<LongSequenceOrBoolean>

Source

fn ReceiveNullableUnion5(&self) -> Option<UnsignedLongOrBoolean>

Source

fn ReceiveNullableUnion6(&self) -> Option<ByteStringOrLong>

Source

fn ReceiveNullableSequence(&self) -> Option<Vec<i32>>

Source

fn ReceiveTestDictionaryWithSuccessOnKeyword( &self, ) -> RootedTraceableBox<TestDictionary<D>>

Source

fn DictMatchesPassedValues( &self, arg: RootedTraceableBox<TestDictionary<D>>, ) -> bool

Source

fn ReceiveUnionIdentity( &self, cx: SafeJSContext, arg: StringOrObject, ) -> StringOrObject

Source

fn PassBoolean(&self, arg: bool)

Source

fn PassByte(&self, arg: i8)

Source

fn PassOctet(&self, arg: u8)

Source

fn PassShort(&self, arg: i16)

Source

fn PassUnsignedShort(&self, arg: u16)

Source

fn PassLong(&self, arg: i32)

Source

fn PassUnsignedLong(&self, arg: u32)

Source

fn PassLongLong(&self, arg: i64)

Source

fn PassUnsignedLongLong(&self, arg: u64)

Source

fn PassUnrestrictedFloat(&self, arg: f32)

Source

fn PassFloat(&self, arg: Finite<f32>)

Source

fn PassUnrestrictedDouble(&self, arg: f64)

Source

fn PassDouble(&self, arg: Finite<f64>)

Source

fn PassString(&self, arg: DOMString)

Source

fn PassUsvstring(&self, arg: USVString)

Source

fn PassByteString(&self, arg: ByteString)

Source

fn PassEnum(&self, arg: TestEnum)

Source

fn PassInterface(&self, arg: &D::Blob)

Source

fn PassTypedArray(&self, arg: CustomAutoRooterGuard<'_, Int8Array>)

Source

fn PassTypedArray2(&self, arg: CustomAutoRooterGuard<'_, ArrayBuffer>)

Source

fn PassTypedArray3(&self, arg: CustomAutoRooterGuard<'_, ArrayBufferView>)

Source

fn PassUnion(&self, arg: HTMLElementOrLong<D>)

Source

fn PassUnion2(&self, data: EventOrString<D>)

Source

fn PassUnion3(&self, data: BlobOrString<D>)

Source

fn PassUnion4(&self, seq: StringOrStringSequence)

Source

fn PassUnion5(&self, data: StringOrBoolean)

Source

fn PassUnion6(&self, bool: UnsignedLongOrBoolean)

Source

fn PassUnion7(&self, arg: StringSequenceOrUnsignedLong)

Source

fn PassUnion8(&self, arg: ByteStringSequenceOrLong)

Source

fn PassUnion9(&self, arg: TestDictionaryOrLong<D>)

Source

fn PassUnion10(&self, cx: SafeJSContext, arg: StringOrObject)

Source

fn PassUnion11(&self, arg: ArrayBufferOrArrayBufferView)

Source

fn PassUnionWithTypedef(&self, arg: DocumentOrStringOrURLOrBlob<D>)

Source

fn PassUnionWithTypedef2(&self, arg: LongSequenceOrStringOrURLOrBlob<D>)

Source

fn PassAny(&self, cx: SafeJSContext, arg: HandleValue<'_>)

Source

fn PassObject(&self, cx: SafeJSContext, arg: *mut JSObject)

Source

fn PassCallbackFunction(&self, fun: Rc<Function<D>>)

Source

fn PassCallbackInterface(&self, listener: Rc<EventListener<D>>)

Source

fn PassSequence(&self, seq: Vec<i32>)

Source

fn PassAnySequence( &self, cx: SafeJSContext, seq: CustomAutoRooterGuard<'_, Vec<JSVal>>, )

Source

fn AnySequencePassthrough( &self, cx: SafeJSContext, seq: CustomAutoRooterGuard<'_, Vec<JSVal>>, ) -> Vec<JSVal>

Source

fn PassObjectSequence( &self, cx: SafeJSContext, seq: CustomAutoRooterGuard<'_, Vec<*mut JSObject>>, )

Source

fn PassStringSequence(&self, seq: Vec<DOMString>)

Source

fn PassInterfaceSequence(&self, seq: Vec<DomRoot<D::Blob>>)

Source

fn PassOverloaded(&self, arg: CustomAutoRooterGuard<'_, ArrayBuffer>)

Source

fn PassOverloaded_(&self, arg: DOMString)

Source

fn PassOverloadedDict(&self, arg: &D::Node) -> DOMString

Source

fn PassOverloadedDict_(&self, arg: &TestURLLike) -> DOMString

Source

fn PassNullableBoolean(&self, arg: Option<bool>)

Source

fn PassNullableByte(&self, arg: Option<i8>)

Source

fn PassNullableOctet(&self, arg: Option<u8>)

Source

fn PassNullableShort(&self, arg: Option<i16>)

Source

fn PassNullableUnsignedShort(&self, arg: Option<u16>)

Source

fn PassNullableLong(&self, arg: Option<i32>)

Source

fn PassNullableUnsignedLong(&self, arg: Option<u32>)

Source

fn PassNullableLongLong(&self, arg: Option<i64>)

Source

fn PassNullableUnsignedLongLong(&self, arg: Option<u64>)

Source

fn PassNullableUnrestrictedFloat(&self, arg: Option<f32>)

Source

fn PassNullableFloat(&self, arg: Option<Finite<f32>>)

Source

fn PassNullableUnrestrictedDouble(&self, arg: Option<f64>)

Source

fn PassNullableDouble(&self, arg: Option<Finite<f64>>)

Source

fn PassNullableString(&self, arg: Option<DOMString>)

Source

fn PassNullableUsvstring(&self, arg: Option<USVString>)

Source

fn PassNullableByteString(&self, arg: Option<ByteString>)

Source

fn PassNullableInterface(&self, arg: Option<&D::Blob>)

Source

fn PassNullableObject(&self, cx: SafeJSContext, arg: *mut JSObject)

Source

fn PassNullableTypedArray( &self, arg: CustomAutoRooterGuard<'_, Option<Int8Array>>, )

Source

fn PassNullableUnion(&self, arg: Option<HTMLElementOrLong<D>>)

Source

fn PassNullableUnion2(&self, data: Option<EventOrString<D>>)

Source

fn PassNullableUnion3(&self, data: Option<StringOrLongSequence>)

Source

fn PassNullableUnion4(&self, bool: Option<LongSequenceOrBoolean>)

Source

fn PassNullableUnion5(&self, arg: Option<UnsignedLongOrBoolean>)

Source

fn PassNullableUnion6(&self, arg: Option<ByteStringOrLong>)

Source

fn PassNullableCallbackFunction(&self, fun: Option<Rc<Function<D>>>)

Source

fn PassNullableCallbackInterface(&self, listener: Option<Rc<EventListener<D>>>)

Source

fn PassNullableSequence(&self, seq: Option<Vec<i32>>)

Source

fn PassOptionalBoolean(&self, arg: Option<bool>)

Source

fn PassOptionalByte(&self, arg: Option<i8>)

Source

fn PassOptionalOctet(&self, arg: Option<u8>)

Source

fn PassOptionalShort(&self, arg: Option<i16>)

Source

fn PassOptionalUnsignedShort(&self, arg: Option<u16>)

Source

fn PassOptionalLong(&self, arg: Option<i32>)

Source

fn PassOptionalUnsignedLong(&self, arg: Option<u32>)

Source

fn PassOptionalLongLong(&self, arg: Option<i64>)

Source

fn PassOptionalUnsignedLongLong(&self, arg: Option<u64>)

Source

fn PassOptionalUnrestrictedFloat(&self, arg: Option<f32>)

Source

fn PassOptionalFloat(&self, arg: Option<Finite<f32>>)

Source

fn PassOptionalUnrestrictedDouble(&self, arg: Option<f64>)

Source

fn PassOptionalDouble(&self, arg: Option<Finite<f64>>)

Source

fn PassOptionalString(&self, arg: Option<DOMString>)

Source

fn PassOptionalUsvstring(&self, arg: Option<USVString>)

Source

fn PassOptionalByteString(&self, arg: Option<ByteString>)

Source

fn PassOptionalEnum(&self, arg: Option<TestEnum>)

Source

fn PassOptionalInterface(&self, arg: Option<&D::Blob>)

Source

fn PassOptionalUnion(&self, arg: Option<HTMLElementOrLong<D>>)

Source

fn PassOptionalUnion2(&self, data: Option<EventOrString<D>>)

Source

fn PassOptionalUnion3(&self, arg: Option<StringOrLongSequence>)

Source

fn PassOptionalUnion4(&self, data: Option<LongSequenceOrBoolean>)

Source

fn PassOptionalUnion5(&self, bool: Option<UnsignedLongOrBoolean>)

Source

fn PassOptionalUnion6(&self, arg: Option<ByteStringOrLong>)

Source

fn PassOptionalAny(&self, cx: SafeJSContext, arg: HandleValue<'_>)

Source

fn PassOptionalObject(&self, cx: SafeJSContext, arg: Option<*mut JSObject>)

Source

fn PassOptionalCallbackFunction(&self, fun: Option<Rc<Function<D>>>)

Source

fn PassOptionalCallbackInterface(&self, listener: Option<Rc<EventListener<D>>>)

Source

fn PassOptionalSequence(&self, seq: Option<Vec<i32>>)

Source

fn PassOptionalNullableBoolean(&self, arg: Option<Option<bool>>)

Source

fn PassOptionalNullableByte(&self, arg: Option<Option<i8>>)

Source

fn PassOptionalNullableOctet(&self, arg: Option<Option<u8>>)

Source

fn PassOptionalNullableShort(&self, arg: Option<Option<i16>>)

Source

fn PassOptionalNullableUnsignedShort(&self, arg: Option<Option<u16>>)

Source

fn PassOptionalNullableLong(&self, arg: Option<Option<i32>>)

Source

fn PassOptionalNullableUnsignedLong(&self, arg: Option<Option<u32>>)

Source

fn PassOptionalNullableLongLong(&self, arg: Option<Option<i64>>)

Source

fn PassOptionalNullableUnsignedLongLong(&self, arg: Option<Option<u64>>)

Source

fn PassOptionalNullableUnrestrictedFloat(&self, arg: Option<Option<f32>>)

Source

fn PassOptionalNullableFloat(&self, arg: Option<Option<Finite<f32>>>)

Source

fn PassOptionalNullableUnrestrictedDouble(&self, arg: Option<Option<f64>>)

Source

fn PassOptionalNullableDouble(&self, arg: Option<Option<Finite<f64>>>)

Source

fn PassOptionalNullableString(&self, arg: Option<Option<DOMString>>)

Source

fn PassOptionalNullableUsvstring(&self, arg: Option<Option<USVString>>)

Source

fn PassOptionalNullableByteString(&self, arg: Option<Option<ByteString>>)

Source

fn PassOptionalNullableInterface(&self, arg: Option<Option<&D::Blob>>)

Source

fn PassOptionalNullableObject( &self, cx: SafeJSContext, arg: Option<*mut JSObject>, )

Source

fn PassOptionalNullableUnion(&self, arg: Option<Option<HTMLElementOrLong<D>>>)

Source

fn PassOptionalNullableUnion2(&self, data: Option<Option<EventOrString<D>>>)

Source

fn PassOptionalNullableUnion3(&self, arg: Option<Option<StringOrLongSequence>>)

Source

fn PassOptionalNullableUnion4( &self, data: Option<Option<LongSequenceOrBoolean>>, )

Source

fn PassOptionalNullableUnion5( &self, bool: Option<Option<UnsignedLongOrBoolean>>, )

Source

fn PassOptionalNullableUnion6(&self, arg: Option<Option<ByteStringOrLong>>)

Source

fn PassOptionalNullableCallbackFunction( &self, fun: Option<Option<Rc<Function<D>>>>, )

Source

fn PassOptionalNullableCallbackInterface( &self, listener: Option<Option<Rc<EventListener<D>>>>, )

Source

fn PassOptionalNullableSequence(&self, seq: Option<Option<Vec<i32>>>)

Source

fn PassOptionalBooleanWithDefault(&self, arg: bool)

Source

fn PassOptionalByteWithDefault(&self, arg: i8)

Source

fn PassOptionalOctetWithDefault(&self, arg: u8)

Source

fn PassOptionalShortWithDefault(&self, arg: i16)

Source

fn PassOptionalUnsignedShortWithDefault(&self, arg: u16)

Source

fn PassOptionalLongWithDefault(&self, arg: i32)

Source

fn PassOptionalUnsignedLongWithDefault(&self, arg: u32)

Source

fn PassOptionalLongLongWithDefault(&self, arg: i64)

Source

fn PassOptionalUnsignedLongLongWithDefault(&self, arg: u64)

Source

fn PassOptionalBytestringWithDefault(&self, arg: ByteString)

Source

fn PassOptionalStringWithDefault(&self, arg: DOMString)

Source

fn PassOptionalUsvstringWithDefault(&self, arg: USVString)

Source

fn PassOptionalEnumWithDefault(&self, arg: TestEnum)

Source

fn PassOptionalSequenceWithDefault(&self, seq: Vec<i32>)

Source

fn PassOptionalNullableBooleanWithDefault(&self, arg: Option<bool>)

Source

fn PassOptionalNullableByteWithDefault(&self, arg: Option<i8>)

Source

fn PassOptionalNullableOctetWithDefault(&self, arg: Option<u8>)

Source

fn PassOptionalNullableShortWithDefault(&self, arg: Option<i16>)

Source

fn PassOptionalNullableUnsignedShortWithDefault(&self, arg: Option<u16>)

Source

fn PassOptionalNullableLongWithDefault(&self, arg: Option<i32>)

Source

fn PassOptionalNullableUnsignedLongWithDefault(&self, arg: Option<u32>)

Source

fn PassOptionalNullableLongLongWithDefault(&self, arg: Option<i64>)

Source

fn PassOptionalNullableUnsignedLongLongWithDefault(&self, arg: Option<u64>)

Source

fn PassOptionalNullableStringWithDefault(&self, arg: Option<DOMString>)

Source

fn PassOptionalNullableUsvstringWithDefault(&self, arg: Option<USVString>)

Source

fn PassOptionalNullableByteStringWithDefault(&self, arg: Option<ByteString>)

Source

fn PassOptionalNullableInterfaceWithDefault(&self, arg: Option<&D::Blob>)

Source

fn PassOptionalNullableObjectWithDefault( &self, cx: SafeJSContext, arg: *mut JSObject, )

Source

fn PassOptionalNullableUnionWithDefault( &self, arg: Option<HTMLElementOrLong<D>>, )

Source

fn PassOptionalNullableUnion2WithDefault(&self, data: Option<EventOrString<D>>)

Source

fn PassOptionalNullableCallbackInterfaceWithDefault( &self, listener: Option<Rc<EventListener<D>>>, )

Source

fn PassOptionalAnyWithDefault(&self, cx: SafeJSContext, arg: HandleValue<'_>)

Source

fn PassOptionalNullableBooleanWithNonNullDefault(&self, arg: Option<bool>)

Source

fn PassOptionalNullableByteWithNonNullDefault(&self, arg: Option<i8>)

Source

fn PassOptionalNullableOctetWithNonNullDefault(&self, arg: Option<u8>)

Source

fn PassOptionalNullableShortWithNonNullDefault(&self, arg: Option<i16>)

Source

fn PassOptionalNullableUnsignedShortWithNonNullDefault(&self, arg: Option<u16>)

Source

fn PassOptionalNullableLongWithNonNullDefault(&self, arg: Option<i32>)

Source

fn PassOptionalNullableUnsignedLongWithNonNullDefault(&self, arg: Option<u32>)

Source

fn PassOptionalNullableLongLongWithNonNullDefault(&self, arg: Option<i64>)

Source

fn PassOptionalNullableUnsignedLongLongWithNonNullDefault( &self, arg: Option<u64>, )

Source

fn PassOptionalNullableStringWithNonNullDefault(&self, arg: Option<DOMString>)

Source

fn PassOptionalNullableUsvstringWithNonNullDefault( &self, arg: Option<USVString>, )

Source

fn PassOptionalOverloaded( &self, arg0: &D::TestBinding, arg1: u32, arg2: u32, ) -> DomRoot<D::TestBinding>

Source

fn PassOptionalOverloaded_(&self, arg0: &D::Blob, arg1: u32)

Source

fn PassVariadicBoolean(&self, args: Vec<bool>)

Source

fn PassVariadicBooleanAndDefault(&self, arg: bool, args: Vec<bool>)

Source

fn PassVariadicByte(&self, args: Vec<i8>)

Source

fn PassVariadicOctet(&self, args: Vec<u8>)

Source

fn PassVariadicShort(&self, args: Vec<i16>)

Source

fn PassVariadicUnsignedShort(&self, args: Vec<u16>)

Source

fn PassVariadicLong(&self, args: Vec<i32>)

Source

fn PassVariadicUnsignedLong(&self, args: Vec<u32>)

Source

fn PassVariadicLongLong(&self, args: Vec<i64>)

Source

fn PassVariadicUnsignedLongLong(&self, args: Vec<u64>)

Source

fn PassVariadicUnrestrictedFloat(&self, args: Vec<f32>)

Source

fn PassVariadicFloat(&self, args: Vec<Finite<f32>>)

Source

fn PassVariadicUnrestrictedDouble(&self, args: Vec<f64>)

Source

fn PassVariadicDouble(&self, args: Vec<Finite<f64>>)

Source

fn PassVariadicString(&self, args: Vec<DOMString>)

Source

fn PassVariadicUsvstring(&self, args: Vec<USVString>)

Source

fn PassVariadicByteString(&self, args: Vec<ByteString>)

Source

fn PassVariadicEnum(&self, args: Vec<TestEnum>)

Source

fn PassVariadicInterface(&self, args: &[&D::Blob])

Source

fn PassVariadicUnion(&self, args: Vec<HTMLElementOrLong<D>>)

Source

fn PassVariadicUnion2(&self, args: Vec<EventOrString<D>>)

Source

fn PassVariadicUnion3(&self, args: Vec<BlobOrString<D>>)

Source

fn PassVariadicUnion4(&self, args: Vec<BlobOrBoolean<D>>)

Source

fn PassVariadicUnion5(&self, args: Vec<StringOrUnsignedLong>)

Source

fn PassVariadicUnion6(&self, args: Vec<UnsignedLongOrBoolean>)

Source

fn PassVariadicUnion7(&self, args: Vec<ByteStringOrLong>)

Source

fn PassVariadicAny(&self, cx: SafeJSContext, args: Vec<HandleValue<'_>>)

Source

fn PassVariadicObject(&self, cx: SafeJSContext, args: Vec<*mut JSObject>)

Source

fn PassSequenceSequence(&self, seq: Vec<Vec<i32>>)

Source

fn ReturnSequenceSequence(&self) -> Vec<Vec<i32>>

Source

fn PassUnionSequenceSequence(&self, seq: LongOrLongSequenceSequence)

Source

fn PassRecordPromise(&self, arg: Record<DOMString, Rc<D::Promise>>)

Source

fn PassRecord(&self, arg: Record<DOMString, i32>)

Source

fn PassRecordWithUSVStringKey(&self, arg: Record<USVString, i32>)

Source

fn PassRecordWithByteStringKey(&self, arg: Record<ByteString, i32>)

Source

fn PassNullableRecord(&self, arg: Option<Record<DOMString, i32>>)

Source

fn PassRecordOfNullableInts(&self, arg: Record<DOMString, Option<i32>>)

Source

fn PassOptionalRecordOfNullableInts( &self, arg: Option<Record<DOMString, Option<i32>>>, )

Source

fn PassOptionalNullableRecordOfNullableInts( &self, arg: Option<Option<Record<DOMString, Option<i32>>>>, )

Source

fn PassCastableObjectRecord( &self, arg: Record<DOMString, DomRoot<D::TestBinding>>, )

Source

fn PassNullableCastableObjectRecord( &self, arg: Record<DOMString, Option<DomRoot<D::TestBinding>>>, )

Source

fn PassCastableObjectNullableRecord( &self, arg: Option<Record<DOMString, DomRoot<D::TestBinding>>>, )

Source

fn PassNullableCastableObjectNullableRecord( &self, arg: Option<Record<DOMString, Option<DomRoot<D::TestBinding>>>>, )

Source

fn PassOptionalRecord(&self, arg: Option<Record<DOMString, i32>>)

Source

fn PassOptionalNullableRecord( &self, arg: Option<Option<Record<DOMString, i32>>>, )

Source

fn PassOptionalNullableRecordWithDefaultValue( &self, arg: Option<Record<DOMString, i32>>, )

Source

fn PassOptionalObjectRecord( &self, arg: Option<Record<DOMString, DomRoot<D::TestBinding>>>, )

Source

fn PassStringRecord(&self, arg: Record<DOMString, DOMString>)

Source

fn PassByteStringRecord(&self, arg: Record<DOMString, ByteString>)

Source

fn PassRecordOfRecords(&self, arg: Record<DOMString, Record<DOMString, i32>>)

Source

fn PassRecordUnion(&self, init: LongOrStringByteStringRecord)

Source

fn PassRecordUnion2(&self, init: TestBindingOrStringByteStringRecord<D>)

Source

fn PassRecordUnion3( &self, init: TestBindingOrByteStringSequenceSequenceOrStringByteStringRecord<D>, )

Source

fn ReceiveRecord(&self) -> Record<DOMString, i32>

Source

fn ReceiveRecordWithUSVStringKey(&self) -> Record<USVString, i32>

Source

fn ReceiveRecordWithByteStringKey(&self) -> Record<ByteString, i32>

Source

fn ReceiveNullableRecord(&self) -> Option<Record<DOMString, i32>>

Source

fn ReceiveRecordOfNullableInts(&self) -> Record<DOMString, Option<i32>>

Source

fn ReceiveNullableRecordOfNullableInts( &self, ) -> Option<Record<DOMString, Option<i32>>>

Source

fn ReceiveRecordOfRecords(&self) -> Record<DOMString, Record<DOMString, i32>>

Source

fn ReceiveAnyRecord(&self) -> Record<DOMString, JSVal>

Source

fn BooleanAttributeStatic(global: &D::GlobalScope) -> bool

Source

fn SetBooleanAttributeStatic(global: &D::GlobalScope, value: bool)

Source

fn ReceiveVoidStatic(global: &D::GlobalScope)

Source

fn BooleanMozPreference(&self, pref_name: DOMString) -> bool

Source

fn StringMozPreference(&self, pref_name: DOMString) -> DOMString

Source

fn PrefControlledAttributeDisabled(&self) -> bool

Source

fn PrefControlledStaticAttributeDisabled(global: &D::GlobalScope) -> bool

Source

fn PrefControlledMethodDisabled(&self)

Source

fn PrefControlledStaticMethodDisabled(global: &D::GlobalScope)

Source

fn AdvanceClock(&self, millis: i32)

Source

fn PrefControlledAttributeEnabled(&self) -> bool

Source

fn PrefControlledStaticAttributeEnabled(global: &D::GlobalScope) -> bool

Source

fn PrefControlledMethodEnabled(&self)

Source

fn PrefControlledStaticMethodEnabled(global: &D::GlobalScope)

Source

fn FuncControlledAttributeDisabled(&self) -> bool

Source

fn FuncControlledStaticAttributeDisabled(global: &D::GlobalScope) -> bool

Source

fn FuncControlledMethodDisabled(&self)

Source

fn FuncControlledStaticMethodDisabled(global: &D::GlobalScope)

Source

fn FuncControlledAttributeEnabled(&self) -> bool

Source

fn FuncControlledStaticAttributeEnabled(global: &D::GlobalScope) -> bool

Source

fn FuncControlledMethodEnabled(&self)

Source

fn FuncControlledStaticMethodEnabled(global: &D::GlobalScope)

Source

fn ReturnResolvedPromise( &self, cx: SafeJSContext, value: HandleValue<'_>, ) -> Rc<D::Promise>

Source

fn ReturnRejectedPromise( &self, cx: SafeJSContext, value: HandleValue<'_>, ) -> Rc<D::Promise>

Source

fn PromiseAttribute(&self, _comp: InRealm<'_>, _can_gc: CanGc) -> Rc<D::Promise>

Source

fn AcceptPromise(&self, string: &D::Promise)

Source

fn PromiseNativeHandler( &self, resolve: Option<Rc<SimpleCallback<D>>>, reject: Option<Rc<SimpleCallback<D>>>, _comp: InRealm<'_>, _can_gc: CanGc, ) -> Rc<D::Promise>

Source

fn PromiseResolveNative( &self, cx: SafeJSContext, p: &D::Promise, value: HandleValue<'_>, _can_gc: CanGc, )

Source

fn PromiseRejectNative( &self, cx: SafeJSContext, p: &D::Promise, value: HandleValue<'_>, _can_gc: CanGc, )

Source

fn PromiseRejectWithTypeError( &self, p: &D::Promise, message: USVString, _can_gc: CanGc, )

Source

fn ResolvePromiseDelayed(&self, p: &D::Promise, value: DOMString, ms: u64)

Source

fn StaticThrowToRejectPromise( global: &D::GlobalScope, ) -> Fallible<Rc<D::Promise>>

Source

fn MethodThrowToRejectPromise(&self) -> Fallible<Rc<D::Promise>>

Source

fn GetGetterThrowToRejectPromise(&self) -> Fallible<Rc<D::Promise>>

Source

fn StaticInternalThrowToRejectPromise( global: &D::GlobalScope, arg: u64, ) -> Rc<D::Promise>

Source

fn MethodInternalThrowToRejectPromise(&self, arg: u64) -> Rc<D::Promise>

Source

fn Panic(&self)

Source

fn EntryGlobal(&self) -> DomRoot<D::GlobalScope>

Source

fn IncumbentGlobal(&self) -> DomRoot<D::GlobalScope>

Source

fn SemiExposedBoolFromInterface(&self) -> bool

Source

fn GetDictionaryWithParent( &self, parent: DOMString, child: DOMString, ) -> TestDictionaryWithParent

Source

fn BoolFromSemiExposedPartialInterface(&self) -> bool

Source

fn SemiExposedBoolFromPartialInterface(&self) -> bool

Source

fn CrashHard(&self)

Source

fn Constructor( global: &D::GlobalScope, proto: Option<HandleObject<'_>>, can_gc: CanGc, ) -> Fallible<DomRoot<D::TestBinding>>

Source

fn Constructor_( global: &D::GlobalScope, proto: Option<HandleObject<'_>>, can_gc: CanGc, numberSequence: Vec<f64>, ) -> Fallible<DomRoot<D::TestBinding>>

Source

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.

Implementors§