pub trait TestBindingMethods {
Show 446 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) -> Root<Dom<Blob>>; fn SetInterfaceAttribute(&self, value: &Blob); fn UnionAttribute(&self) -> HTMLElementOrLong; fn SetUnionAttribute(&self, value: HTMLElementOrLong); fn Union2Attribute(&self) -> EventOrString; fn SetUnion2Attribute(&self, value: EventOrString); fn Union3Attribute(&self) -> EventOrUSVString; fn SetUnion3Attribute(&self, value: EventOrUSVString); 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; fn SetUnion7Attribute(&self, value: BlobOrBoolean); fn Union8Attribute(&self) -> BlobOrUnsignedLong; fn SetUnion8Attribute(&self, value: BlobOrUnsignedLong); fn Union9Attribute(&self) -> ByteStringOrLong; fn SetUnion9Attribute(&self, value: ByteStringOrLong); fn ArrayAttribute(&self, cx: SafeJSContext) -> Uint8ClampedArray; fn AnyAttribute(&self, cx: SafeJSContext) -> JSVal; 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) -> Option<Root<Dom<Blob>>>; fn SetInterfaceAttributeNullable(&self, value: Option<&Blob>); fn GetInterfaceAttributeWeak(&self) -> Option<Root<Dom<URL>>>; fn SetInterfaceAttributeWeak(&self, value: Option<&URL>); fn GetObjectAttributeNullable( &self, cx: SafeJSContext ) -> Option<NonNull<JSObject>>; fn SetObjectAttributeNullable( &self, cx: SafeJSContext, value: *mut JSObject ); fn GetUnionAttributeNullable(&self) -> Option<HTMLElementOrLong>; fn SetUnionAttributeNullable(&self, value: Option<HTMLElementOrLong>); fn GetUnion2AttributeNullable(&self) -> Option<EventOrString>; fn SetUnion2AttributeNullable(&self, value: Option<EventOrString>); fn GetUnion3AttributeNullable(&self) -> Option<BlobOrBoolean>; fn SetUnion3AttributeNullable(&self, value: Option<BlobOrBoolean>); 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) -> Root<Dom<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) -> Root<Dom<Blob>>; fn ReceiveAny(&self, cx: SafeJSContext) -> JSVal; fn ReceiveObject(&self, cx: SafeJSContext) -> NonNull<JSObject>; fn ReceiveUnion(&self) -> HTMLElementOrLong; fn ReceiveUnion2(&self) -> EventOrString; fn ReceiveUnion3(&self) -> StringOrLongSequence; fn ReceiveUnion4(&self) -> StringOrStringSequence; fn ReceiveUnion5(&self) -> BlobOrBlobSequence; fn ReceiveUnion6(&self) -> StringOrUnsignedLong; fn ReceiveUnion7(&self) -> StringOrBoolean; fn ReceiveUnion8(&self) -> UnsignedLongOrBoolean; fn ReceiveUnion9(&self) -> HTMLElementOrUnsignedLongOrStringOrBoolean; fn ReceiveUnion10(&self) -> ByteStringOrLong; fn ReceiveUnion11(&self) -> ByteStringSequenceOrLongOrString; fn ReceiveSequence(&self) -> Vec<i32>; fn ReceiveInterfaceSequence(&self) -> Vec<Root<Dom<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) -> Option<Root<Dom<Blob>>>; fn ReceiveNullableObject( &self, cx: SafeJSContext ) -> Option<NonNull<JSObject>>; fn ReceiveNullableUnion(&self) -> Option<HTMLElementOrLong>; fn ReceiveNullableUnion2(&self) -> Option<EventOrString>; 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>; fn DictMatchesPassedValues( &self, arg: RootedTraceableBox<TestDictionary> ) -> 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: &Blob); fn PassTypedArray(&self, arg: CustomAutoRooterGuard<'_, Int8Array>); fn PassTypedArray2(&self, arg: CustomAutoRooterGuard<'_, ArrayBuffer>); fn PassTypedArray3(&self, arg: CustomAutoRooterGuard<'_, ArrayBufferView>); fn PassUnion(&self, arg: HTMLElementOrLong); fn PassUnion2(&self, data: EventOrString); fn PassUnion3(&self, data: BlobOrString); 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); fn PassUnion10(&self, cx: SafeJSContext, arg: StringOrObject); fn PassUnion11(&self, arg: ArrayBufferOrArrayBufferView); fn PassUnionWithTypedef(&self, arg: DocumentOrTestTypedef); fn PassUnionWithTypedef2(&self, arg: LongSequenceOrTestTypedef); fn PassAny(&self, cx: SafeJSContext, arg: HandleValue<'_>); fn PassObject(&self, cx: SafeJSContext, arg: *mut JSObject); fn PassCallbackFunction(&self, fun: Rc<Function>); fn PassCallbackInterface(&self, listener: Rc<EventListener>); 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<Root<Dom<Blob>>>); fn PassOverloaded(&self, arg: CustomAutoRooterGuard<'_, ArrayBuffer>); fn PassOverloaded_(&self, arg: DOMString); fn PassOverloadedDict(&self, arg: &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<&Blob>); fn PassNullableObject(&self, cx: SafeJSContext, arg: *mut JSObject); fn PassNullableTypedArray( &self, arg: CustomAutoRooterGuard<'_, Option<Int8Array>> ); fn PassNullableUnion(&self, arg: Option<HTMLElementOrLong>); fn PassNullableUnion2(&self, data: Option<EventOrString>); 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>>); fn PassNullableCallbackInterface(&self, listener: Option<Rc<EventListener>>); 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<&Blob>); fn PassOptionalUnion(&self, arg: Option<HTMLElementOrLong>); fn PassOptionalUnion2(&self, data: Option<EventOrString>); 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>>); fn PassOptionalCallbackInterface(&self, listener: Option<Rc<EventListener>>); 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<&Blob>>); fn PassOptionalNullableObject( &self, cx: SafeJSContext, arg: Option<*mut JSObject> ); fn PassOptionalNullableUnion(&self, arg: Option<Option<HTMLElementOrLong>>); fn PassOptionalNullableUnion2(&self, data: Option<Option<EventOrString>>); 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>>> ); fn PassOptionalNullableCallbackInterface( &self, listener: Option<Option<Rc<EventListener>>> ); 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<&Blob>); fn PassOptionalNullableObjectWithDefault( &self, cx: SafeJSContext, arg: *mut JSObject ); fn PassOptionalNullableUnionWithDefault( &self, arg: Option<HTMLElementOrLong> ); fn PassOptionalNullableUnion2WithDefault(&self, data: Option<EventOrString>); fn PassOptionalNullableCallbackInterfaceWithDefault( &self, listener: Option<Rc<EventListener>> ); 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: &TestBinding, arg1: u32, arg2: u32 ) -> Root<Dom<TestBinding>>; fn PassOptionalOverloaded_(&self, arg0: &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: &[&Blob]); fn PassVariadicUnion(&self, args: Vec<HTMLElementOrLong>); fn PassVariadicUnion2(&self, args: Vec<EventOrString>); fn PassVariadicUnion3(&self, args: Vec<BlobOrString>); fn PassVariadicUnion4(&self, args: Vec<BlobOrBoolean>); 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 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, Root<Dom<TestBinding>>> ); fn PassNullableCastableObjectRecord( &self, arg: Record<DOMString, Option<Root<Dom<TestBinding>>>> ); fn PassCastableObjectNullableRecord( &self, arg: Option<Record<DOMString, Root<Dom<TestBinding>>>> ); fn PassNullableCastableObjectNullableRecord( &self, arg: Option<Record<DOMString, Option<Root<Dom<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, Root<Dom<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); fn PassRecordUnion3( &self, init: TestBindingOrByteStringSequenceSequenceOrStringByteStringRecord ); 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 BooleanMozPreference(&self, pref_name: DOMString) -> bool; fn StringMozPreference(&self, pref_name: DOMString) -> DOMString; fn PrefControlledAttributeDisabled(&self) -> bool; fn PrefControlledMethodDisabled(&self); fn AdvanceClock(&self, millis: i32); fn PrefControlledAttributeEnabled(&self) -> bool; fn PrefControlledMethodEnabled(&self); fn FuncControlledAttributeDisabled(&self) -> bool; fn FuncControlledMethodDisabled(&self); fn FuncControlledAttributeEnabled(&self) -> bool; fn FuncControlledMethodEnabled(&self); fn ReturnResolvedPromise( &self, cx: SafeJSContext, value: HandleValue<'_> ) -> Result<Rc<Promise>, Error>; fn ReturnRejectedPromise( &self, cx: SafeJSContext, value: HandleValue<'_> ) -> Result<Rc<Promise>, Error>; fn PromiseAttribute(&self, _comp: InRealm<'_>) -> Rc<Promise>; fn AcceptPromise(&self, string: &Promise); fn PromiseNativeHandler( &self, resolve: Option<Rc<SimpleCallback>>, reject: Option<Rc<SimpleCallback>>, _comp: InRealm<'_> ) -> Rc<Promise>; fn PromiseResolveNative( &self, cx: SafeJSContext, p: &Promise, value: HandleValue<'_> ); fn PromiseRejectNative( &self, cx: SafeJSContext, p: &Promise, value: HandleValue<'_> ); fn PromiseRejectWithTypeError(&self, p: &Promise, message: USVString); fn ResolvePromiseDelayed(&self, p: &Promise, value: DOMString, ms: u64); fn Panic(&self); fn EntryGlobal(&self) -> Root<Dom<GlobalScope>>; fn IncumbentGlobal(&self) -> Root<Dom<GlobalScope>>; fn SemiExposedBoolFromInterface(&self) -> bool; fn GetDictionaryWithParent( &self, parent: DOMString, child: DOMString ) -> TestDictionaryWithParent; fn BoolFromSemiExposedPartialInterface(&self) -> bool; fn SemiExposedBoolFromPartialInterface(&self) -> bool; fn CrashHard(&self);
}

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) -> Root<Dom<Blob>>

source

fn SetInterfaceAttribute(&self, value: &Blob)

source

fn UnionAttribute(&self) -> HTMLElementOrLong

source

fn SetUnionAttribute(&self, value: HTMLElementOrLong)

source

fn Union2Attribute(&self) -> EventOrString

source

fn SetUnion2Attribute(&self, value: EventOrString)

source

fn Union3Attribute(&self) -> EventOrUSVString

source

fn SetUnion3Attribute(&self, value: EventOrUSVString)

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

source

fn SetUnion7Attribute(&self, value: BlobOrBoolean)

source

fn Union8Attribute(&self) -> BlobOrUnsignedLong

source

fn SetUnion8Attribute(&self, value: BlobOrUnsignedLong)

source

fn Union9Attribute(&self) -> ByteStringOrLong

source

fn SetUnion9Attribute(&self, value: ByteStringOrLong)

source

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

source

fn AnyAttribute(&self, cx: SafeJSContext) -> JSVal

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) -> Option<Root<Dom<Blob>>>

source

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

source

fn GetInterfaceAttributeWeak(&self) -> Option<Root<Dom<URL>>>

source

fn SetInterfaceAttributeWeak(&self, value: Option<&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>

source

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

source

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

source

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

source

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

source

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

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) -> Root<Dom<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) -> Root<Dom<Blob>>

source

fn ReceiveAny(&self, cx: SafeJSContext) -> JSVal

source

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

source

fn ReceiveUnion(&self) -> HTMLElementOrLong

source

fn ReceiveUnion2(&self) -> EventOrString

source

fn ReceiveUnion3(&self) -> StringOrLongSequence

source

fn ReceiveUnion4(&self) -> StringOrStringSequence

source

fn ReceiveUnion5(&self) -> BlobOrBlobSequence

source

fn ReceiveUnion6(&self) -> StringOrUnsignedLong

source

fn ReceiveUnion7(&self) -> StringOrBoolean

source

fn ReceiveUnion8(&self) -> UnsignedLongOrBoolean

source

fn ReceiveUnion9(&self) -> HTMLElementOrUnsignedLongOrStringOrBoolean

source

fn ReceiveUnion10(&self) -> ByteStringOrLong

source

fn ReceiveUnion11(&self) -> ByteStringSequenceOrLongOrString

source

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

source

fn ReceiveInterfaceSequence(&self) -> Vec<Root<Dom<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) -> Option<Root<Dom<Blob>>>

source

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

source

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

source

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

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>

source

fn DictMatchesPassedValues( &self, arg: RootedTraceableBox<TestDictionary> ) -> 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: &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)

source

fn PassUnion2(&self, data: EventOrString)

source

fn PassUnion3(&self, data: BlobOrString)

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)

source

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

source

fn PassUnion11(&self, arg: ArrayBufferOrArrayBufferView)

source

fn PassUnionWithTypedef(&self, arg: DocumentOrTestTypedef)

source

fn PassUnionWithTypedef2(&self, arg: LongSequenceOrTestTypedef)

source

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

source

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

source

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

source

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

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<Root<Dom<Blob>>>)

source

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

source

fn PassOverloaded_(&self, arg: DOMString)

source

fn PassOverloadedDict(&self, arg: &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<&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>)

source

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

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>>)

source

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

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<&Blob>)

source

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

source

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

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>>)

source

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

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<&Blob>>)

source

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

source

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

source

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

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>>> )

source

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

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<&Blob>)

source

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

source

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

source

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

source

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

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: &TestBinding, arg1: u32, arg2: u32 ) -> Root<Dom<TestBinding>>

source

fn PassOptionalOverloaded_(&self, arg0: &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: &[&Blob])

source

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

source

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

source

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

source

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

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 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, Root<Dom<TestBinding>>> )

source

fn PassNullableCastableObjectRecord( &self, arg: Record<DOMString, Option<Root<Dom<TestBinding>>>> )

source

fn PassCastableObjectNullableRecord( &self, arg: Option<Record<DOMString, Root<Dom<TestBinding>>>> )

source

fn PassNullableCastableObjectNullableRecord( &self, arg: Option<Record<DOMString, Option<Root<Dom<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, Root<Dom<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)

source

fn PassRecordUnion3( &self, init: TestBindingOrByteStringSequenceSequenceOrStringByteStringRecord )

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 BooleanMozPreference(&self, pref_name: DOMString) -> bool

source

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

source

fn PrefControlledAttributeDisabled(&self) -> bool

source

fn PrefControlledMethodDisabled(&self)

source

fn AdvanceClock(&self, millis: i32)

source

fn PrefControlledAttributeEnabled(&self) -> bool

source

fn PrefControlledMethodEnabled(&self)

source

fn FuncControlledAttributeDisabled(&self) -> bool

source

fn FuncControlledMethodDisabled(&self)

source

fn FuncControlledAttributeEnabled(&self) -> bool

source

fn FuncControlledMethodEnabled(&self)

source

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

source

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

source

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

source

fn AcceptPromise(&self, string: &Promise)

source

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

source

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

source

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

source

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

source

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

source

fn Panic(&self)

source

fn EntryGlobal(&self) -> Root<Dom<GlobalScope>>

source

fn IncumbentGlobal(&self) -> Root<Dom<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)

Implementors§