pub trait IDLInterface {
    // Required method
    fn derives(_: &'static DOMClass) -> bool;
}
Expand description

A trait to check whether a given JSObject implements an IDL interface.

Required Methods§

source

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

Returns whether the given DOM class derives that interface.

Object Safety§

This trait is not object safe.

Implementors§

source§

impl IDLInterface for AbstractRange

source§

impl IDLInterface for AnalyserNode

source§

impl IDLInterface for AnimationEvent

source§

impl IDLInterface for Attr

source§

impl IDLInterface for AudioBuffer

source§

impl IDLInterface for AudioBufferSourceNode

source§

impl IDLInterface for AudioContext

source§

impl IDLInterface for AudioDestinationNode

source§

impl IDLInterface for AudioListener

source§

impl IDLInterface for AudioNode

source§

impl IDLInterface for AudioParam

source§

impl IDLInterface for AudioScheduledSourceNode

source§

impl IDLInterface for AudioTrack

source§

impl IDLInterface for AudioTrackList

source§

impl IDLInterface for BaseAudioContext

source§

impl IDLInterface for BeforeUnloadEvent

source§

impl IDLInterface for BiquadFilterNode

source§

impl IDLInterface for Blob

source§

impl IDLInterface for Bluetooth

source§

impl IDLInterface for BluetoothAdvertisingEvent

source§

impl IDLInterface for BluetoothCharacteristicProperties

source§

impl IDLInterface for BluetoothDevice

source§

impl IDLInterface for BluetoothPermissionResult

source§

impl IDLInterface for BluetoothRemoteGATTCharacteristic

source§

impl IDLInterface for BluetoothRemoteGATTDescriptor

source§

impl IDLInterface for BluetoothRemoteGATTServer

source§

impl IDLInterface for BluetoothRemoteGATTService

source§

impl IDLInterface for BluetoothUUID

source§

impl IDLInterface for BroadcastChannel

source§

impl IDLInterface for CanvasGradient

source§

impl IDLInterface for CanvasPattern

source§

impl IDLInterface for CanvasRenderingContext2D

source§

impl IDLInterface for CDATASection

source§

impl IDLInterface for ChannelMergerNode

source§

impl IDLInterface for ChannelSplitterNode

source§

impl IDLInterface for CharacterData

source§

impl IDLInterface for Client

source§

impl IDLInterface for CloseEvent

source§

impl IDLInterface for Comment

source§

impl IDLInterface for CompositionEvent

source§

impl IDLInterface for ConstantSourceNode

source§

impl IDLInterface for Crypto

source§

impl IDLInterface for CSSConditionRule

source§

impl IDLInterface for CSSFontFaceRule

source§

impl IDLInterface for CSSGroupingRule

source§

impl IDLInterface for CSSImportRule

source§

impl IDLInterface for CSSKeyframeRule

source§

impl IDLInterface for CSSKeyframesRule

source§

impl IDLInterface for CSSLayerBlockRule

source§

impl IDLInterface for CSSLayerStatementRule

source§

impl IDLInterface for CSSMediaRule

source§

impl IDLInterface for CSSNamespaceRule

source§

impl IDLInterface for CSSRule

source§

impl IDLInterface for CSSRuleList

source§

impl IDLInterface for CSSStyleDeclaration

source§

impl IDLInterface for CSSStyleRule

source§

impl IDLInterface for CSSStyleSheet

source§

impl IDLInterface for CSSStyleValue

source§

impl IDLInterface for CSSSupportsRule

source§

impl IDLInterface for CustomElementRegistry

source§

impl IDLInterface for CustomEvent

source§

impl IDLInterface for DedicatedWorkerGlobalScope

source§

impl IDLInterface for DissimilarOriginLocation

source§

impl IDLInterface for DissimilarOriginWindow

source§

impl IDLInterface for Document

source§

impl IDLInterface for DocumentFragment

source§

impl IDLInterface for DocumentType

source§

impl IDLInterface for DOMException

source§

impl IDLInterface for DOMImplementation

source§

impl IDLInterface for DOMMatrix

source§

impl IDLInterface for DOMMatrixReadOnly

source§

impl IDLInterface for DOMParser

source§

impl IDLInterface for DOMPoint

source§

impl IDLInterface for DOMPointReadOnly

source§

impl IDLInterface for DOMQuad

source§

impl IDLInterface for DOMRect

source§

impl IDLInterface for DOMRectReadOnly

source§

impl IDLInterface for DOMStringList

source§

impl IDLInterface for DOMStringMap

source§

impl IDLInterface for DOMTokenList

source§

impl IDLInterface for DynamicModuleOwner

source§

impl IDLInterface for Element

source§

impl IDLInterface for ElementInternals

source§

impl IDLInterface for ErrorEvent

source§

impl IDLInterface for Event

source§

impl IDLInterface for EventSource

source§

impl IDLInterface for EventTarget

source§

impl IDLInterface for ExtendableEvent

source§

impl IDLInterface for ExtendableMessageEvent

source§

impl IDLInterface for FakeXRDevice

source§

impl IDLInterface for FakeXRInputController

source§

impl IDLInterface for File

source§

impl IDLInterface for FileList

source§

impl IDLInterface for FileReader

source§

impl IDLInterface for FileReaderSync

source§

impl IDLInterface for FocusEvent

source§

impl IDLInterface for FormData

source§

impl IDLInterface for FormDataEvent

source§

impl IDLInterface for GainNode

source§

impl IDLInterface for Gamepad

source§

impl IDLInterface for GamepadButton

source§

impl IDLInterface for GamepadButtonList

source§

impl IDLInterface for GamepadEvent

source§

impl IDLInterface for GamepadPose

source§

impl IDLInterface for GlobalScope

source§

impl IDLInterface for GPU

source§

impl IDLInterface for GPUAdapter

source§

impl IDLInterface for GPUAdapterInfo

source§

impl IDLInterface for GPUBindGroup

source§

impl IDLInterface for GPUBindGroupLayout

source§

impl IDLInterface for GPUBuffer

source§

impl IDLInterface for GPUBufferUsage

source§

impl IDLInterface for GPUCanvasContext

source§

impl IDLInterface for GPUColorWrite

source§

impl IDLInterface for GPUCommandBuffer

source§

impl IDLInterface for GPUCommandEncoder

source§

impl IDLInterface for GPUCompilationInfo

source§

impl IDLInterface for GPUCompilationMessage

source§

impl IDLInterface for GPUComputePassEncoder

source§

impl IDLInterface for GPUComputePipeline

source§

impl IDLInterface for GPUDevice

source§

impl IDLInterface for GPUDeviceLostInfo

source§

impl IDLInterface for GPUError

source§

impl IDLInterface for GPUInternalError

source§

impl IDLInterface for GPUMapMode

source§

impl IDLInterface for GPUOutOfMemoryError

source§

impl IDLInterface for GPUPipelineLayout

source§

impl IDLInterface for GPUQuerySet

source§

impl IDLInterface for GPUQueue

source§

impl IDLInterface for GPURenderBundle

source§

impl IDLInterface for GPURenderBundleEncoder

source§

impl IDLInterface for GPURenderPassEncoder

source§

impl IDLInterface for GPURenderPipeline

source§

impl IDLInterface for GPUSampler

source§

impl IDLInterface for GPUShaderModule

source§

impl IDLInterface for GPUShaderStage

source§

impl IDLInterface for GPUSupportedFeatures

source§

impl IDLInterface for GPUSupportedLimits

source§

impl IDLInterface for GPUTexture

source§

impl IDLInterface for GPUTextureUsage

source§

impl IDLInterface for GPUTextureView

source§

impl IDLInterface for GPUUncapturedErrorEvent

source§

impl IDLInterface for GPUValidationError

source§

impl IDLInterface for HashChangeEvent

source§

impl IDLInterface for Headers

source§

impl IDLInterface for History

source§

impl IDLInterface for HTMLAnchorElement

source§

impl IDLInterface for HTMLAreaElement

source§

impl IDLInterface for HTMLAudioElement

source§

impl IDLInterface for HTMLBaseElement

source§

impl IDLInterface for HTMLBodyElement

source§

impl IDLInterface for HTMLBRElement

source§

impl IDLInterface for HTMLButtonElement

source§

impl IDLInterface for HTMLCanvasElement

source§

impl IDLInterface for HTMLCollection

source§

impl IDLInterface for HTMLDataElement

source§

impl IDLInterface for HTMLDataListElement

source§

impl IDLInterface for HTMLDetailsElement

source§

impl IDLInterface for HTMLDialogElement

source§

impl IDLInterface for HTMLDirectoryElement

source§

impl IDLInterface for HTMLDivElement

source§

impl IDLInterface for HTMLDListElement

source§

impl IDLInterface for HTMLElement

source§

impl IDLInterface for HTMLEmbedElement

source§

impl IDLInterface for HTMLFieldSetElement

source§

impl IDLInterface for HTMLFontElement

source§

impl IDLInterface for HTMLFormControlsCollection

source§

impl IDLInterface for HTMLFormElement

source§

impl IDLInterface for HTMLFrameElement

source§

impl IDLInterface for HTMLFrameSetElement

source§

impl IDLInterface for HTMLHeadElement

source§

impl IDLInterface for HTMLHeadingElement

source§

impl IDLInterface for HTMLHRElement

source§

impl IDLInterface for HTMLHtmlElement

source§

impl IDLInterface for HTMLIFrameElement

source§

impl IDLInterface for HTMLImageElement

source§

impl IDLInterface for HTMLInputElement

source§

impl IDLInterface for HTMLLabelElement

source§

impl IDLInterface for HTMLLegendElement

source§

impl IDLInterface for HTMLLIElement

source§

impl IDLInterface for HTMLLinkElement

source§

impl IDLInterface for HTMLMapElement

source§

impl IDLInterface for HTMLMediaElement

source§

impl IDLInterface for HTMLMenuElement

source§

impl IDLInterface for HTMLMetaElement

source§

impl IDLInterface for HTMLMeterElement

source§

impl IDLInterface for HTMLModElement

source§

impl IDLInterface for HTMLObjectElement

source§

impl IDLInterface for HTMLOListElement

source§

impl IDLInterface for HTMLOptGroupElement

source§

impl IDLInterface for HTMLOptionElement

source§

impl IDLInterface for HTMLOptionsCollection

source§

impl IDLInterface for HTMLOutputElement

source§

impl IDLInterface for HTMLParagraphElement

source§

impl IDLInterface for HTMLParamElement

source§

impl IDLInterface for HTMLPictureElement

source§

impl IDLInterface for HTMLPreElement

source§

impl IDLInterface for HTMLProgressElement

source§

impl IDLInterface for HTMLQuoteElement

source§

impl IDLInterface for HTMLScriptElement

source§

impl IDLInterface for HTMLSelectElement

source§

impl IDLInterface for HTMLSourceElement

source§

impl IDLInterface for HTMLSpanElement

source§

impl IDLInterface for HTMLStyleElement

source§

impl IDLInterface for HTMLTableCaptionElement

source§

impl IDLInterface for HTMLTableCellElement

source§

impl IDLInterface for HTMLTableColElement

source§

impl IDLInterface for HTMLTableElement

source§

impl IDLInterface for HTMLTableRowElement

source§

impl IDLInterface for HTMLTableSectionElement

source§

impl IDLInterface for HTMLTemplateElement

source§

impl IDLInterface for HTMLTextAreaElement

source§

impl IDLInterface for HTMLTimeElement

source§

impl IDLInterface for HTMLTitleElement

source§

impl IDLInterface for HTMLTrackElement

source§

impl IDLInterface for HTMLUListElement

source§

impl IDLInterface for HTMLUnknownElement

source§

impl IDLInterface for HTMLVideoElement

source§

impl IDLInterface for ImageBitmap

source§

impl IDLInterface for ImageData

source§

impl IDLInterface for InputEvent

source§

impl IDLInterface for KeyboardEvent

source§

impl IDLInterface for Location

source§

impl IDLInterface for MediaDeviceInfo

source§

impl IDLInterface for MediaDevices

source§

impl IDLInterface for MediaElementAudioSourceNode

source§

impl IDLInterface for MediaError

source§

impl IDLInterface for MediaList

source§

impl IDLInterface for MediaMetadata

source§

impl IDLInterface for MediaQueryList

source§

impl IDLInterface for MediaQueryListEvent

source§

impl IDLInterface for MediaSession

source§

impl IDLInterface for MediaStream

source§

impl IDLInterface for MediaStreamAudioDestinationNode

source§

impl IDLInterface for MediaStreamAudioSourceNode

source§

impl IDLInterface for MediaStreamTrack

source§

impl IDLInterface for MediaStreamTrackAudioSourceNode

source§

impl IDLInterface for MessageChannel

source§

impl IDLInterface for MessageEvent

source§

impl IDLInterface for MessagePort

source§

impl IDLInterface for MimeType

source§

impl IDLInterface for MimeTypeArray

source§

impl IDLInterface for MouseEvent

source§

impl IDLInterface for MutationObserver

source§

impl IDLInterface for MutationRecord

source§

impl IDLInterface for NamedNodeMap

source§

impl IDLInterface for NavigationPreloadManager

source§

impl IDLInterface for Navigator

source§

impl IDLInterface for Node

source§

impl IDLInterface for NodeIterator

source§

impl IDLInterface for NodeList

source§

impl IDLInterface for OfflineAudioCompletionEvent

source§

impl IDLInterface for OfflineAudioContext

source§

impl IDLInterface for OffscreenCanvas

source§

impl IDLInterface for OffscreenCanvasRenderingContext2D

source§

impl IDLInterface for OscillatorNode

source§

impl IDLInterface for PageTransitionEvent

source§

impl IDLInterface for PaintRenderingContext2D

source§

impl IDLInterface for PaintSize

source§

impl IDLInterface for PaintWorkletGlobalScope

source§

impl IDLInterface for PannerNode

source§

impl IDLInterface for Performance

source§

impl IDLInterface for PerformanceEntry

source§

impl IDLInterface for PerformanceMark

source§

impl IDLInterface for PerformanceMeasure

source§

impl IDLInterface for PerformanceNavigation

source§

impl IDLInterface for PerformanceNavigationTiming

source§

impl IDLInterface for PerformanceObserver

source§

impl IDLInterface for PerformanceObserverEntryList

source§

impl IDLInterface for PerformancePaintTiming

source§

impl IDLInterface for PerformanceResourceTiming

source§

impl IDLInterface for Permissions

source§

impl IDLInterface for PermissionStatus

source§

impl IDLInterface for Plugin

source§

impl IDLInterface for PluginArray

source§

impl IDLInterface for PopStateEvent

source§

impl IDLInterface for ProcessingInstruction

source§

impl IDLInterface for ProgressEvent

source§

impl IDLInterface for PromiseNativeHandler

source§

impl IDLInterface for PromiseRejectionEvent

source§

impl IDLInterface for RadioNodeList

source§

impl IDLInterface for Range

source§

impl IDLInterface for ReadableStream

source§

impl IDLInterface for Request

source§

impl IDLInterface for ResizeObserver

source§

impl IDLInterface for ResizeObserverEntry

source§

impl IDLInterface for ResizeObserverSize

source§

impl IDLInterface for Response

source§

impl IDLInterface for RTCDataChannel

source§

impl IDLInterface for RTCDataChannelEvent

source§

impl IDLInterface for RTCError

source§

impl IDLInterface for RTCErrorEvent

source§

impl IDLInterface for RTCIceCandidate

source§

impl IDLInterface for RTCPeerConnection

source§

impl IDLInterface for RTCPeerConnectionIceEvent

source§

impl IDLInterface for RTCRtpSender

source§

impl IDLInterface for RTCRtpTransceiver

source§

impl IDLInterface for RTCSessionDescription

source§

impl IDLInterface for RTCTrackEvent

source§

impl IDLInterface for Screen

source§

impl IDLInterface for Selection

source§

impl IDLInterface for ServiceWorker

source§

impl IDLInterface for ServiceWorkerContainer

source§

impl IDLInterface for ServiceWorkerGlobalScope

source§

impl IDLInterface for ServiceWorkerRegistration

source§

impl IDLInterface for ServoParser

source§

impl IDLInterface for ShadowRoot

source§

impl IDLInterface for StaticRange

source§

impl IDLInterface for StereoPannerNode

source§

impl IDLInterface for Storage

source§

impl IDLInterface for StorageEvent

source§

impl IDLInterface for StylePropertyMapReadOnly

source§

impl IDLInterface for StyleSheet

source§

impl IDLInterface for StyleSheetList

source§

impl IDLInterface for SubmitEvent

source§

impl IDLInterface for SVGElement

source§

impl IDLInterface for SVGGraphicsElement

source§

impl IDLInterface for SVGSVGElement

source§

impl IDLInterface for TestBinding

source§

impl IDLInterface for TestBindingIterable

source§

impl IDLInterface for TestBindingMaplike

source§

impl IDLInterface for TestBindingPairIterable

source§

impl IDLInterface for TestBindingProxy

source§

impl IDLInterface for TestBindingSetlike

source§

impl IDLInterface for TestRunner

source§

impl IDLInterface for TestWorklet

source§

impl IDLInterface for TestWorkletGlobalScope

source§

impl IDLInterface for Text

source§

impl IDLInterface for TextDecoder

source§

impl IDLInterface for TextEncoder

source§

impl IDLInterface for TextMetrics

source§

impl IDLInterface for TextTrack

source§

impl IDLInterface for TextTrackCue

source§

impl IDLInterface for TextTrackCueList

source§

impl IDLInterface for TextTrackList

source§

impl IDLInterface for TimeRanges

source§

impl IDLInterface for Touch

source§

impl IDLInterface for TouchEvent

source§

impl IDLInterface for TouchList

source§

impl IDLInterface for TrackEvent

source§

impl IDLInterface for TransitionEvent

source§

impl IDLInterface for TreeWalker

source§

impl IDLInterface for UIEvent

source§

impl IDLInterface for URL

source§

impl IDLInterface for URLSearchParams

source§

impl IDLInterface for ValidityState

source§

impl IDLInterface for VideoTrack

source§

impl IDLInterface for VideoTrackList

source§

impl IDLInterface for VTTCue

source§

impl IDLInterface for VTTRegion

source§

impl IDLInterface for WebGL2RenderingContext

source§

impl IDLInterface for ANGLEInstancedArrays

source§

impl IDLInterface for EXTBlendMinmax

source§

impl IDLInterface for EXTColorBufferHalfFloat

source§

impl IDLInterface for EXTFragDepth

source§

impl IDLInterface for EXTShaderTextureLod

source§

impl IDLInterface for EXTTextureFilterAnisotropic

source§

impl IDLInterface for OESElementIndexUint

source§

impl IDLInterface for OESStandardDerivatives

source§

impl IDLInterface for OESTextureFloat

source§

impl IDLInterface for OESTextureFloatLinear

source§

impl IDLInterface for OESTextureHalfFloat

source§

impl IDLInterface for OESTextureHalfFloatLinear

source§

impl IDLInterface for OESVertexArrayObject

source§

impl IDLInterface for WEBGLColorBufferFloat

source§

impl IDLInterface for WEBGLCompressedTextureETC1

source§

impl IDLInterface for WEBGLCompressedTextureS3TC

source§

impl IDLInterface for WebGLActiveInfo

source§

impl IDLInterface for WebGLBuffer

source§

impl IDLInterface for WebGLContextEvent

source§

impl IDLInterface for WebGLFramebuffer

source§

impl IDLInterface for WebGLObject

source§

impl IDLInterface for WebGLProgram

source§

impl IDLInterface for WebGLQuery

source§

impl IDLInterface for WebGLRenderbuffer

source§

impl IDLInterface for WebGLRenderingContext

source§

impl IDLInterface for WebGLSampler

source§

impl IDLInterface for WebGLShader

source§

impl IDLInterface for WebGLShaderPrecisionFormat

source§

impl IDLInterface for WebGLSync

source§

impl IDLInterface for WebGLTexture

source§

impl IDLInterface for WebGLTransformFeedback

source§

impl IDLInterface for WebGLUniformLocation

source§

impl IDLInterface for WebGLVertexArrayObject

source§

impl IDLInterface for WebGLVertexArrayObjectOES

source§

impl IDLInterface for WebSocket

source§

impl IDLInterface for WheelEvent

source§

impl IDLInterface for Window

source§

impl IDLInterface for Worker

source§

impl IDLInterface for WorkerGlobalScope

source§

impl IDLInterface for WorkerLocation

source§

impl IDLInterface for WorkerNavigator

source§

impl IDLInterface for Worklet

source§

impl IDLInterface for WorkletGlobalScope

source§

impl IDLInterface for XMLDocument

source§

impl IDLInterface for XMLHttpRequest

source§

impl IDLInterface for XMLHttpRequestEventTarget

source§

impl IDLInterface for XMLHttpRequestUpload

source§

impl IDLInterface for XMLSerializer

source§

impl IDLInterface for XRCompositionLayer

source§

impl IDLInterface for XRCubeLayer

source§

impl IDLInterface for XRCylinderLayer

source§

impl IDLInterface for XREquirectLayer

source§

impl IDLInterface for XRFrame

source§

impl IDLInterface for XRHand

source§

impl IDLInterface for XRHitTestResult

source§

impl IDLInterface for XRHitTestSource

source§

impl IDLInterface for XRInputSource

source§

impl IDLInterface for XRInputSourceArray

source§

impl IDLInterface for XRInputSourceEvent

source§

impl IDLInterface for XRInputSourcesChangeEvent

source§

impl IDLInterface for XRJointPose

source§

impl IDLInterface for XRJointSpace

source§

impl IDLInterface for XRLayer

source§

impl IDLInterface for XRLayerEvent

source§

impl IDLInterface for XRMediaBinding

source§

impl IDLInterface for XRPose

source§

impl IDLInterface for XRProjectionLayer

source§

impl IDLInterface for XRQuadLayer

source§

impl IDLInterface for XRRay

source§

impl IDLInterface for XRReferenceSpace

source§

impl IDLInterface for XRRenderState

source§

impl IDLInterface for XRRigidTransform

source§

impl IDLInterface for XRSession

source§

impl IDLInterface for XRSessionEvent

source§

impl IDLInterface for XRSpace

source§

impl IDLInterface for XRSubImage

source§

impl IDLInterface for XRSystem

source§

impl IDLInterface for XRTest

source§

impl IDLInterface for XRView

source§

impl IDLInterface for XRViewerPose

source§

impl IDLInterface for XRViewport

source§

impl IDLInterface for XRWebGLBinding

source§

impl IDLInterface for XRWebGLLayer

source§

impl IDLInterface for XRWebGLSubImage

source§

impl IDLInterface for IterableIterator<FormData>

source§

impl IDLInterface for IterableIterator<GPUSupportedFeatures>

source§

impl IDLInterface for IterableIterator<Headers>

source§

impl IDLInterface for IterableIterator<TestBindingMaplike>

source§

impl IDLInterface for IterableIterator<TestBindingPairIterable>

source§

impl IDLInterface for IterableIterator<TestBindingSetlike>

source§

impl IDLInterface for IterableIterator<URLSearchParams>