script::dom::testbinding

Struct TestBinding

Source
#[repr(C)]
pub(crate) struct TestBinding { reflector_: Reflector, url: MutableWeakRef<URL>, }

Fields§

§reflector_: Reflector§url: MutableWeakRef<URL>

Implementations§

Trait Implementations§

§

impl Castable for TestBinding

Source§

fn is<T>(&self) -> bool
where T: DerivedFrom<Self>,

Check whether a DOM object implements one of its deriving interfaces.
Source§

fn upcast<T>(&self) -> &T
where T: Castable, Self: DerivedFrom<T>,

Cast a DOM object upwards to one of the interfaces it derives from.
Source§

fn downcast<T>(&self) -> Option<&T>
where T: DerivedFrom<Self>,

Cast a DOM object downwards to one of the interfaces it might implement.
Source§

impl DomObject for TestBinding

Source§

fn reflector(&self) -> &Reflector

Returns the receiver’s reflector.
Source§

impl DomObjectWrap<DomTypeHolder> for TestBinding

Source§

const WRAP: unsafe fn(_: SafeJSContext, _: &GlobalScope, _: Option<HandleObject<'_>>, _: Box<Self>, _: CanGc) -> Root<Dom<Self>> = {script_bindings::codegen::GenericBindings::TestBindingBinding::Wrap::<dom::bindings::codegen::DomTypeHolder::DomTypeHolder> as for<'a, 'b> unsafe fn(script_bindings::script_runtime::JSContext, &'a dom::globalscope::GlobalScope, std::option::Option<js::rust::Handle<'b, *mut js::jsapi::JSObject>>, std::boxed::Box<dom::testbinding::TestBinding>, script_bindings::script_runtime::CanGc) -> script_bindings::root::Root<script_bindings::root::Dom<dom::testbinding::TestBinding>>}

Function pointer to the general wrap function type
Source§

impl HasParent for TestBinding

Source§

fn as_parent(&self) -> &Reflector

This is used in a type assertion to ensure that the source and webidls agree as to what the parent type is

Source§

type Parent = Reflector

Source§

impl IDLInterface for TestBinding

Source§

fn derives(class: &'static DOMClass) -> bool

Returns whether the given DOM class derives that interface.
Source§

impl MallocSizeOf for TestBinding

Source§

fn size_of(&self, ops: &mut MallocSizeOfOps) -> usize

Measure the heap usage of all descendant heap-allocated structures, but not the space taken up by the value itself.
Source§

impl MutDomObject for TestBinding

Source§

unsafe fn init_reflector(&self, obj: *mut JSObject)

Initializes the Reflector Read more
Source§

impl PartialEq for TestBinding

Source§

fn eq(&self, other: &Self) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl TestBindingHelpers for TestBinding

Source§

impl TestBindingMethods<DomTypeHolder> for TestBinding

Source§

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

Source§

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

Source§

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

Source§

fn BooleanAttribute(&self) -> bool

Source§

fn SetBooleanAttribute(&self, _: bool)

Source§

fn ByteAttribute(&self) -> i8

Source§

fn SetByteAttribute(&self, _: i8)

Source§

fn OctetAttribute(&self) -> u8

Source§

fn SetOctetAttribute(&self, _: u8)

Source§

fn ShortAttribute(&self) -> i16

Source§

fn SetShortAttribute(&self, _: i16)

Source§

fn UnsignedShortAttribute(&self) -> u16

Source§

fn SetUnsignedShortAttribute(&self, _: u16)

Source§

fn LongAttribute(&self) -> i32

Source§

fn SetLongAttribute(&self, _: i32)

Source§

fn UnsignedLongAttribute(&self) -> u32

Source§

fn SetUnsignedLongAttribute(&self, _: u32)

Source§

fn LongLongAttribute(&self) -> i64

Source§

fn SetLongLongAttribute(&self, _: i64)

Source§

fn UnsignedLongLongAttribute(&self) -> u64

Source§

fn SetUnsignedLongLongAttribute(&self, _: u64)

Source§

fn UnrestrictedFloatAttribute(&self) -> f32

Source§

fn SetUnrestrictedFloatAttribute(&self, _: f32)

Source§

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

Source§

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

Source§

fn UnrestrictedDoubleAttribute(&self) -> f64

Source§

fn SetUnrestrictedDoubleAttribute(&self, _: f64)

Source§

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

Source§

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

Source§

fn StringAttribute(&self) -> DOMString

Source§

fn SetStringAttribute(&self, _: DOMString)

Source§

fn UsvstringAttribute(&self) -> USVString

Source§

fn SetUsvstringAttribute(&self, _: USVString)

Source§

fn ByteStringAttribute(&self) -> ByteString

Source§

fn SetByteStringAttribute(&self, _: ByteString)

Source§

fn EnumAttribute(&self) -> TestEnum

Source§

fn SetEnumAttribute(&self, _: TestEnum)

Source§

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

Source§

fn SetInterfaceAttribute(&self, _: &Blob)

Source§

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

Source§

fn SetUnionAttribute(&self, _: HTMLElementOrLong<DomTypeHolder>)

Source§

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

Source§

fn SetUnion2Attribute(&self, _: EventOrString<DomTypeHolder>)

Source§

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

Source§

fn SetUnion3Attribute(&self, _: EventOrUSVString<DomTypeHolder>)

Source§

fn Union4Attribute(&self) -> StringOrUnsignedLong

Source§

fn SetUnion4Attribute(&self, _: StringOrUnsignedLong)

Source§

fn Union5Attribute(&self) -> StringOrBoolean

Source§

fn SetUnion5Attribute(&self, _: StringOrBoolean)

Source§

fn Union6Attribute(&self) -> UnsignedLongOrBoolean

Source§

fn SetUnion6Attribute(&self, _: UnsignedLongOrBoolean)

Source§

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

Source§

fn SetUnion7Attribute(&self, _: BlobOrBoolean<DomTypeHolder>)

Source§

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

Source§

fn SetUnion8Attribute(&self, _: BlobOrUnsignedLong<DomTypeHolder>)

Source§

fn Union9Attribute(&self) -> ByteStringOrLong

Source§

fn SetUnion9Attribute(&self, _: ByteStringOrLong)

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

fn SetBinaryRenamedAttribute(&self, _: DOMString)

Source§

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

Source§

fn BinaryRenamedAttribute(&self) -> DOMString

Source§

fn SetBinaryRenamedAttribute2(&self, _: DOMString)

Source§

fn BinaryRenamedAttribute2(&self) -> DOMString

Source§

fn Attr_to_automatically_rename(&self) -> DOMString

Source§

fn SetAttr_to_automatically_rename(&self, _: DOMString)

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

fn ReceiveUnion3(&self) -> StringOrLongSequence

Source§

fn ReceiveUnion4(&self) -> StringOrStringSequence

Source§

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

Source§

fn ReceiveUnion6(&self) -> StringOrUnsignedLong

Source§

fn ReceiveUnion7(&self) -> StringOrBoolean

Source§

fn ReceiveUnion8(&self) -> UnsignedLongOrBoolean

Source§

fn ReceiveUnion9( &self, ) -> HTMLElementOrUnsignedLongOrStringOrBoolean<DomTypeHolder>

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

Source§

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

Source§

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

Source§

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

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

Source§

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

Source§

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

Source§

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

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

Source§

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

Source§

fn PassBoolean(&self, _: bool)

Source§

fn PassByte(&self, _: i8)

Source§

fn PassOctet(&self, _: u8)

Source§

fn PassShort(&self, _: i16)

Source§

fn PassUnsignedShort(&self, _: u16)

Source§

fn PassLong(&self, _: i32)

Source§

fn PassUnsignedLong(&self, _: u32)

Source§

fn PassLongLong(&self, _: i64)

Source§

fn PassUnsignedLongLong(&self, _: u64)

Source§

fn PassUnrestrictedFloat(&self, _: f32)

Source§

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

Source§

fn PassUnrestrictedDouble(&self, _: f64)

Source§

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

Source§

fn PassString(&self, _: DOMString)

Source§

fn PassUsvstring(&self, _: USVString)

Source§

fn PassByteString(&self, _: ByteString)

Source§

fn PassEnum(&self, _: TestEnum)

Source§

fn PassInterface(&self, _: &Blob)

Source§

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

Source§

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

Source§

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

Source§

fn PassUnion(&self, _: HTMLElementOrLong<DomTypeHolder>)

Source§

fn PassUnion2(&self, _: EventOrString<DomTypeHolder>)

Source§

fn PassUnion3(&self, _: BlobOrString<DomTypeHolder>)

Source§

fn PassUnion4(&self, _: StringOrStringSequence)

Source§

fn PassUnion5(&self, _: StringOrBoolean)

Source§

fn PassUnion6(&self, _: UnsignedLongOrBoolean)

Source§

fn PassUnion7(&self, _: StringSequenceOrUnsignedLong)

Source§

fn PassUnion8(&self, _: ByteStringSequenceOrLong)

Source§

fn PassUnion9(&self, _: TestDictionaryOrLong<DomTypeHolder>)

Source§

fn PassUnion10(&self, _: SafeJSContext, _: StringOrObject)

Source§

fn PassUnion11(&self, _: ArrayBufferOrArrayBufferView)

Source§

fn PassUnionWithTypedef(&self, _: DocumentOrStringOrURLOrBlob<DomTypeHolder>)

Source§

fn PassUnionWithTypedef2( &self, _: LongSequenceOrStringOrURLOrBlob<DomTypeHolder>, )

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

fn PassOverloaded_(&self, _: DOMString)

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

fn PassNullableUnion(&self, _: Option<HTMLElementOrLong<DomTypeHolder>>)

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

fn PassNullableCallbackFunction(&self, _: Option<Rc<Function<DomTypeHolder>>>)

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

fn PassOptionalCallbackFunction(&self, _: Option<Rc<Function<DomTypeHolder>>>)

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

fn PassOptionalNullableCallbackFunction( &self, _: Option<Option<Rc<Function<DomTypeHolder>>>>, )

Source§

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

Source§

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

Source§

fn PassOptionalBooleanWithDefault(&self, _: bool)

Source§

fn PassOptionalByteWithDefault(&self, _: i8)

Source§

fn PassOptionalOctetWithDefault(&self, _: u8)

Source§

fn PassOptionalShortWithDefault(&self, _: i16)

Source§

fn PassOptionalUnsignedShortWithDefault(&self, _: u16)

Source§

fn PassOptionalLongWithDefault(&self, _: i32)

Source§

fn PassOptionalUnsignedLongWithDefault(&self, _: u32)

Source§

fn PassOptionalLongLongWithDefault(&self, _: i64)

Source§

fn PassOptionalUnsignedLongLongWithDefault(&self, _: u64)

Source§

fn PassOptionalStringWithDefault(&self, _: DOMString)

Source§

fn PassOptionalUsvstringWithDefault(&self, _: USVString)

Source§

fn PassOptionalBytestringWithDefault(&self, _: ByteString)

Source§

fn PassOptionalEnumWithDefault(&self, _: TestEnum)

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

fn PassOptionalOverloaded( &self, a: &TestBinding, _: u32, _: u32, ) -> DomRoot<TestBinding>

Source§

fn PassOptionalOverloaded_(&self, _: &Blob, _: u32)

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

fn PassVariadicInterface(&self, _: &[&Blob])

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

fn PrefControlledAttributeDisabled(&self) -> bool

Source§

fn PrefControlledAttributeEnabled(&self) -> bool

Source§

fn PrefControlledMethodDisabled(&self)

Source§

fn PrefControlledMethodEnabled(&self)

Source§

fn FuncControlledAttributeDisabled(&self) -> bool

Source§

fn FuncControlledAttributeEnabled(&self) -> bool

Source§

fn FuncControlledMethodDisabled(&self)

Source§

fn FuncControlledMethodEnabled(&self)

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

fn PassRecordUnion(&self, _: LongOrStringByteStringRecord)

Source§

fn PassRecordUnion2( &self, _: TestBindingOrStringByteStringRecord<DomTypeHolder>, )

Source§

fn PassRecordUnion3( &self, _: TestBindingOrByteStringSequenceSequenceOrStringByteStringRecord<DomTypeHolder>, )

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 ReturnResolvedPromise( &self, cx: SafeJSContext, v: HandleValue<'_>, ) -> Rc<Promise>

Source§

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

Source§

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

Source§

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

Source§

fn PromiseRejectWithTypeError(&self, p: &Promise, s: USVString, can_gc: CanGc)

Source§

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

Source§

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

Source§

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

Source§

fn AcceptPromise(&self, _promise: &Promise)

Source§

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

Source§

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

Source§

fn PassUnionSequenceSequence(&self, seq: LongOrLongSequenceSequence)

Source§

fn CrashHard(&self)

Source§

fn AdvanceClock(&self, ms: i32)

Source§

fn Panic(&self)

Source§

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

Source§

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

Source§

fn SemiExposedBoolFromInterface(&self) -> bool

Source§

fn BoolFromSemiExposedPartialInterface(&self) -> bool

Source§

fn SemiExposedBoolFromPartialInterface(&self) -> bool

Source§

fn GetDictionaryWithParent( &self, s1: DOMString, s2: DOMString, ) -> TestDictionaryWithParent

Source§

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

Source§

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

Source§

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

Source§

fn StaticThrowToRejectPromise(_: &GlobalScope) -> Fallible<Rc<Promise>>

Source§

fn StaticInternalThrowToRejectPromise(_: &GlobalScope, _arg: u64) -> Rc<Promise>

Source§

fn BooleanAttributeStatic(_: &GlobalScope) -> bool

Source§

fn SetBooleanAttributeStatic(_: &GlobalScope, _: bool)

Source§

fn ReceiveVoidStatic(_: &GlobalScope)

Source§

fn PrefControlledStaticAttributeDisabled(_: &GlobalScope) -> bool

Source§

fn PrefControlledStaticAttributeEnabled(_: &GlobalScope) -> bool

Source§

fn PrefControlledStaticMethodDisabled(_: &GlobalScope)

Source§

fn PrefControlledStaticMethodEnabled(_: &GlobalScope)

Source§

fn FuncControlledStaticAttributeDisabled(_: &GlobalScope) -> bool

Source§

fn FuncControlledStaticAttributeEnabled(_: &GlobalScope) -> bool

Source§

fn FuncControlledStaticMethodDisabled(_: &GlobalScope)

Source§

fn FuncControlledStaticMethodEnabled(_: &GlobalScope)

Source§

impl ToJSValConvertible for TestBinding

Source§

unsafe fn to_jsval(&self, cx: *mut JSContext, rval: MutableHandleValue<'_>)

Convert self to a JSVal. JSAPI failure causes a panic.
Source§

impl Traceable for TestBinding

Source§

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

Trace self.
§

impl DerivedFrom<TestBinding> for TestBinding

§

impl DerivedFrom<TestBinding> for TestBindingProxy

Source§

impl Eq for TestBinding

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> AsVoidPtr for T

Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<D, T> DomGlobalGeneric<D> for T
where D: DomTypes, T: DomObject,

Source§

fn global_(&self, realm: InRealm<'_>) -> Root<Dom<<D as DomTypes>::GlobalScope>>
where Self: Sized,

Returns the [GlobalScope] of the realm that the DomObject was created in. If this object is a Node, this will be different from it’s owning Document if adopted by. For Nodes it’s almost always better to use NodeTraits::owning_global.
Source§

fn global(&self) -> Root<Dom<<D as DomTypes>::GlobalScope>>
where Self: Sized,

Returns the [GlobalScope] of the realm that the DomObject was created in. If this object is a Node, this will be different from it’s owning Document if adopted by. For Nodes it’s almost always better to use NodeTraits::owning_global.
Source§

impl<T> Downcast<T> for T

Source§

fn downcast(&self) -> &T

Source§

impl<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

Source§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
Source§

impl<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

Source§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
Source§

impl<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

Source§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
Source§

impl<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

Source§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
Source§

impl<T> Filterable for T

Source§

fn filterable( self, filter_name: &'static str, ) -> RequestFilterDataProvider<T, fn(_: DataRequest<'_>) -> bool>

Creates a filterable data provider with the given name for debugging. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

impl<T> MaybeBoxed<Box<T>> for T

Source§

fn maybe_boxed(self) -> Box<T>

Convert
Source§

impl<T> MaybeBoxed<T> for T

Source§

fn maybe_boxed(self) -> T

Convert
Source§

impl<T> Pointable for T

Source§

const ALIGN: usize

The alignment of pointer.
Source§

type Init = T

The type for initializers.
Source§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
Source§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
Source§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
Source§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ThisReflector for T
where T: DomObject,

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> Upcast<T> for T

Source§

fn upcast(&self) -> Option<&T>

Source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

Source§

fn vzip(self) -> V

Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

impl<T> ErasedDestructor for T
where T: 'static,

Source§

impl<T> MaybeSendSync for T