pub trait HasParent {
    type Parent;

    // Required method
    fn as_parent(&self) -> &Self::Parent;
}

Required Associated Types§

Required Methods§

source

fn as_parent(&self) -> &Self::Parent

Implementors§

source§

impl HasParent for AbstractRange

source§

impl HasParent for AnalyserNode

source§

impl HasParent for AnimationEvent

source§

impl HasParent for Attr

§

type Parent = Node

source§

impl HasParent for AudioBuffer

source§

impl HasParent for AudioBufferSourceNode

source§

impl HasParent for AudioContext

source§

impl HasParent for AudioDestinationNode

source§

impl HasParent for AudioListener

source§

impl HasParent for AudioNode

source§

impl HasParent for AudioParam

source§

impl HasParent for AudioScheduledSourceNode

source§

impl HasParent for AudioTrack

source§

impl HasParent for AudioTrackList

source§

impl HasParent for BaseAudioContext

source§

impl HasParent for BeforeUnloadEvent

source§

impl HasParent for BiquadFilterNode

source§

impl HasParent for Blob

source§

impl HasParent for Bluetooth

source§

impl HasParent for BluetoothAdvertisingEvent

source§

impl HasParent for BluetoothCharacteristicProperties

source§

impl HasParent for BluetoothDevice

source§

impl HasParent for BluetoothPermissionResult

source§

impl HasParent for BluetoothRemoteGATTCharacteristic

source§

impl HasParent for BluetoothRemoteGATTDescriptor

source§

impl HasParent for BluetoothRemoteGATTServer

source§

impl HasParent for BluetoothRemoteGATTService

source§

impl HasParent for BluetoothUUID

source§

impl HasParent for BroadcastChannel

source§

impl HasParent for CanvasGradient

source§

impl HasParent for CanvasPattern

source§

impl HasParent for CanvasRenderingContext2D

source§

impl HasParent for CDATASection

§

type Parent = Text

source§

impl HasParent for ChannelMergerNode

source§

impl HasParent for ChannelSplitterNode

source§

impl HasParent for CharacterData

§

type Parent = Node

source§

impl HasParent for Client

source§

impl HasParent for CloseEvent

source§

impl HasParent for Comment

source§

impl HasParent for CompositionEvent

source§

impl HasParent for ConstantSourceNode

source§

impl HasParent for Crypto

source§

impl HasParent for CSS

source§

impl HasParent for CSSConditionRule

source§

impl HasParent for CSSFontFaceRule

source§

impl HasParent for CSSGroupingRule

source§

impl HasParent for CSSImportRule

source§

impl HasParent for CSSKeyframeRule

source§

impl HasParent for CSSKeyframesRule

source§

impl HasParent for CSSLayerBlockRule

source§

impl HasParent for CSSLayerStatementRule

source§

impl HasParent for CSSMediaRule

source§

impl HasParent for CSSNamespaceRule

source§

impl HasParent for CSSRule

source§

impl HasParent for CSSRuleList

source§

impl HasParent for CSSStyleDeclaration

source§

impl HasParent for CSSStyleRule

source§

impl HasParent for CSSStyleSheet

source§

impl HasParent for CSSStyleValue

source§

impl HasParent for CSSSupportsRule

source§

impl HasParent for CustomElementRegistry

source§

impl HasParent for CustomEvent

source§

impl HasParent for DedicatedWorkerGlobalScope

source§

impl HasParent for DissimilarOriginLocation

source§

impl HasParent for DissimilarOriginWindow

source§

impl HasParent for Document

§

type Parent = Node

source§

impl HasParent for DocumentFragment

§

type Parent = Node

source§

impl HasParent for DocumentType

§

type Parent = Node

source§

impl HasParent for DOMException

source§

impl HasParent for DOMImplementation

source§

impl HasParent for DOMMatrix

source§

impl HasParent for DOMMatrixReadOnly

source§

impl HasParent for DOMParser

source§

impl HasParent for DOMPoint

source§

impl HasParent for DOMPointReadOnly

source§

impl HasParent for DOMQuad

source§

impl HasParent for DOMRect

source§

impl HasParent for DOMRectReadOnly

source§

impl HasParent for DOMStringList

source§

impl HasParent for DOMStringMap

source§

impl HasParent for DOMTokenList

source§

impl HasParent for DynamicModuleOwner

source§

impl HasParent for Element

§

type Parent = Node

source§

impl HasParent for ElementInternals

source§

impl HasParent for ErrorEvent

source§

impl HasParent for Event

source§

impl HasParent for EventSource

source§

impl HasParent for EventTarget

source§

impl HasParent for ExtendableEvent

source§

impl HasParent for ExtendableMessageEvent

source§

impl HasParent for FakeXRDevice

source§

impl HasParent for FakeXRInputController

source§

impl HasParent for File

§

type Parent = Blob

source§

impl HasParent for FileList

source§

impl HasParent for FileReader

source§

impl HasParent for FileReaderSync

source§

impl HasParent for FocusEvent

source§

impl HasParent for FormData

source§

impl HasParent for FormDataEvent

source§

impl HasParent for GainNode

source§

impl HasParent for Gamepad

source§

impl HasParent for GamepadButton

source§

impl HasParent for GamepadButtonList

source§

impl HasParent for GamepadEvent

source§

impl HasParent for GamepadPose

source§

impl HasParent for GlobalScope

source§

impl HasParent for GPU

source§

impl HasParent for GPUAdapter

source§

impl HasParent for GPUAdapterInfo

source§

impl HasParent for GPUBindGroup

source§

impl HasParent for GPUBindGroupLayout

source§

impl HasParent for GPUBuffer

source§

impl HasParent for GPUBufferUsage

source§

impl HasParent for GPUCanvasContext

source§

impl HasParent for GPUColorWrite

source§

impl HasParent for GPUCommandBuffer

source§

impl HasParent for GPUCommandEncoder

source§

impl HasParent for GPUCompilationInfo

source§

impl HasParent for GPUCompilationMessage

source§

impl HasParent for GPUComputePassEncoder

source§

impl HasParent for GPUComputePipeline

source§

impl HasParent for GPUDevice

source§

impl HasParent for GPUDeviceLostInfo

source§

impl HasParent for GPUError

source§

impl HasParent for GPUInternalError

source§

impl HasParent for GPUMapMode

source§

impl HasParent for GPUOutOfMemoryError

source§

impl HasParent for GPUPipelineLayout

source§

impl HasParent for GPUQuerySet

source§

impl HasParent for GPUQueue

source§

impl HasParent for GPURenderBundle

source§

impl HasParent for GPURenderBundleEncoder

source§

impl HasParent for GPURenderPassEncoder

source§

impl HasParent for GPURenderPipeline

source§

impl HasParent for GPUSampler

source§

impl HasParent for GPUShaderModule

source§

impl HasParent for GPUShaderStage

source§

impl HasParent for GPUSupportedFeatures

source§

impl HasParent for GPUSupportedLimits

source§

impl HasParent for GPUTexture

source§

impl HasParent for GPUTextureUsage

source§

impl HasParent for GPUTextureView

source§

impl HasParent for GPUUncapturedErrorEvent

source§

impl HasParent for GPUValidationError

source§

impl HasParent for HashChangeEvent

source§

impl HasParent for Headers

source§

impl HasParent for History

source§

impl HasParent for HTMLAnchorElement

source§

impl HasParent for HTMLAreaElement

source§

impl HasParent for HTMLAudioElement

source§

impl HasParent for HTMLBaseElement

source§

impl HasParent for HTMLBodyElement

source§

impl HasParent for HTMLBRElement

source§

impl HasParent for HTMLButtonElement

source§

impl HasParent for HTMLCanvasElement

source§

impl HasParent for HTMLCollection

source§

impl HasParent for HTMLDataElement

source§

impl HasParent for HTMLDataListElement

source§

impl HasParent for HTMLDetailsElement

source§

impl HasParent for HTMLDialogElement

source§

impl HasParent for HTMLDirectoryElement

source§

impl HasParent for HTMLDivElement

source§

impl HasParent for HTMLDListElement

source§

impl HasParent for HTMLElement

source§

impl HasParent for HTMLEmbedElement

source§

impl HasParent for HTMLFieldSetElement

source§

impl HasParent for HTMLFontElement

source§

impl HasParent for HTMLFormControlsCollection

source§

impl HasParent for HTMLFormElement

source§

impl HasParent for HTMLFrameElement

source§

impl HasParent for HTMLFrameSetElement

source§

impl HasParent for HTMLHeadElement

source§

impl HasParent for HTMLHeadingElement

source§

impl HasParent for HTMLHRElement

source§

impl HasParent for HTMLHtmlElement

source§

impl HasParent for HTMLIFrameElement

source§

impl HasParent for HTMLImageElement

source§

impl HasParent for HTMLInputElement

source§

impl HasParent for HTMLLabelElement

source§

impl HasParent for HTMLLegendElement

source§

impl HasParent for HTMLLIElement

source§

impl HasParent for HTMLLinkElement

source§

impl HasParent for HTMLMapElement

source§

impl HasParent for HTMLMediaElement

source§

impl HasParent for HTMLMenuElement

source§

impl HasParent for HTMLMetaElement

source§

impl HasParent for HTMLMeterElement

source§

impl HasParent for HTMLModElement

source§

impl HasParent for HTMLObjectElement

source§

impl HasParent for HTMLOListElement

source§

impl HasParent for HTMLOptGroupElement

source§

impl HasParent for HTMLOptionElement

source§

impl HasParent for HTMLOptionsCollection

source§

impl HasParent for HTMLOutputElement

source§

impl HasParent for HTMLParagraphElement

source§

impl HasParent for HTMLParamElement

source§

impl HasParent for HTMLPictureElement

source§

impl HasParent for HTMLPreElement

source§

impl HasParent for HTMLProgressElement

source§

impl HasParent for HTMLQuoteElement

source§

impl HasParent for HTMLScriptElement

source§

impl HasParent for HTMLSelectElement

source§

impl HasParent for HTMLSourceElement

source§

impl HasParent for HTMLSpanElement

source§

impl HasParent for HTMLStyleElement

source§

impl HasParent for HTMLTableCaptionElement

source§

impl HasParent for HTMLTableCellElement

source§

impl HasParent for HTMLTableColElement

source§

impl HasParent for HTMLTableElement

source§

impl HasParent for HTMLTableRowElement

source§

impl HasParent for HTMLTableSectionElement

source§

impl HasParent for HTMLTemplateElement

source§

impl HasParent for HTMLTextAreaElement

source§

impl HasParent for HTMLTimeElement

source§

impl HasParent for HTMLTitleElement

source§

impl HasParent for HTMLTrackElement

source§

impl HasParent for HTMLUListElement

source§

impl HasParent for HTMLUnknownElement

source§

impl HasParent for HTMLVideoElement

source§

impl HasParent for ImageBitmap

source§

impl HasParent for ImageData

source§

impl HasParent for InputEvent

source§

impl HasParent for KeyboardEvent

source§

impl HasParent for Location

source§

impl HasParent for MediaDeviceInfo

source§

impl HasParent for MediaDevices

source§

impl HasParent for MediaElementAudioSourceNode

source§

impl HasParent for MediaError

source§

impl HasParent for MediaList

source§

impl HasParent for MediaMetadata

source§

impl HasParent for MediaQueryList

source§

impl HasParent for MediaQueryListEvent

source§

impl HasParent for MediaSession

source§

impl HasParent for MediaStream

source§

impl HasParent for MediaStreamAudioDestinationNode

source§

impl HasParent for MediaStreamAudioSourceNode

source§

impl HasParent for MediaStreamTrack

source§

impl HasParent for MediaStreamTrackAudioSourceNode

source§

impl HasParent for MessageChannel

source§

impl HasParent for MessageEvent

source§

impl HasParent for MessagePort

source§

impl HasParent for MimeType

source§

impl HasParent for MimeTypeArray

source§

impl HasParent for MouseEvent

source§

impl HasParent for MutationObserver

source§

impl HasParent for MutationRecord

source§

impl HasParent for NamedNodeMap

source§

impl HasParent for NavigationPreloadManager

source§

impl HasParent for Navigator

source§

impl HasParent for Node

source§

impl HasParent for NodeIterator

source§

impl HasParent for NodeList

source§

impl HasParent for OfflineAudioCompletionEvent

source§

impl HasParent for OfflineAudioContext

source§

impl HasParent for OffscreenCanvas

source§

impl HasParent for OffscreenCanvasRenderingContext2D

source§

impl HasParent for OscillatorNode

source§

impl HasParent for PageTransitionEvent

source§

impl HasParent for PaintRenderingContext2D

source§

impl HasParent for PaintSize

source§

impl HasParent for PaintWorkletGlobalScope

source§

impl HasParent for PannerNode

source§

impl HasParent for Performance

source§

impl HasParent for PerformanceEntry

source§

impl HasParent for PerformanceMark

source§

impl HasParent for PerformanceMeasure

source§

impl HasParent for PerformanceNavigation

source§

impl HasParent for PerformanceNavigationTiming

source§

impl HasParent for PerformanceObserver

source§

impl HasParent for PerformanceObserverEntryList

source§

impl HasParent for PerformancePaintTiming

source§

impl HasParent for PerformanceResourceTiming

source§

impl HasParent for Permissions

source§

impl HasParent for PermissionStatus

source§

impl HasParent for Plugin

source§

impl HasParent for PluginArray

source§

impl HasParent for PopStateEvent

source§

impl HasParent for ProcessingInstruction

source§

impl HasParent for ProgressEvent

source§

impl HasParent for Promise

source§

impl HasParent for PromiseNativeHandler

source§

impl HasParent for PromiseRejectionEvent

source§

impl HasParent for RadioNodeList

source§

impl HasParent for Range

source§

impl HasParent for ReadableStream

source§

impl HasParent for Request

source§

impl HasParent for ResizeObserver

source§

impl HasParent for ResizeObserverEntry

source§

impl HasParent for ResizeObserverSize

source§

impl HasParent for Response

source§

impl HasParent for RTCDataChannel

source§

impl HasParent for RTCDataChannelEvent

source§

impl HasParent for RTCError

source§

impl HasParent for RTCErrorEvent

source§

impl HasParent for RTCIceCandidate

source§

impl HasParent for RTCPeerConnection

source§

impl HasParent for RTCPeerConnectionIceEvent

source§

impl HasParent for RTCRtpSender

source§

impl HasParent for RTCRtpTransceiver

source§

impl HasParent for RTCSessionDescription

source§

impl HasParent for RTCTrackEvent

source§

impl HasParent for Screen

source§

impl HasParent for Selection

source§

impl HasParent for ServiceWorker

source§

impl HasParent for ServiceWorkerContainer

source§

impl HasParent for ServiceWorkerGlobalScope

source§

impl HasParent for ServiceWorkerRegistration

source§

impl HasParent for ServoParser

source§

impl HasParent for ShadowRoot

source§

impl HasParent for StaticRange

source§

impl HasParent for StereoPannerNode

source§

impl HasParent for Storage

source§

impl HasParent for StorageEvent

source§

impl HasParent for StylePropertyMapReadOnly

source§

impl HasParent for StyleSheet

source§

impl HasParent for StyleSheetList

source§

impl HasParent for SubmitEvent

source§

impl HasParent for SVGElement

source§

impl HasParent for SVGGraphicsElement

source§

impl HasParent for SVGSVGElement

source§

impl HasParent for TestBinding

source§

impl HasParent for TestBindingIterable

source§

impl HasParent for TestBindingMaplike

source§

impl HasParent for TestBindingPairIterable

source§

impl HasParent for TestBindingProxy

source§

impl HasParent for TestBindingSetlike

source§

impl HasParent for TestRunner

source§

impl HasParent for TestWorklet

source§

impl HasParent for TestWorkletGlobalScope

source§

impl HasParent for Text

source§

impl HasParent for TextDecoder

source§

impl HasParent for TextEncoder

source§

impl HasParent for TextMetrics

source§

impl HasParent for TextTrack

source§

impl HasParent for TextTrackCue

source§

impl HasParent for TextTrackCueList

source§

impl HasParent for TextTrackList

source§

impl HasParent for TimeRanges

source§

impl HasParent for Touch

source§

impl HasParent for TouchEvent

source§

impl HasParent for TouchList

source§

impl HasParent for TrackEvent

source§

impl HasParent for TransitionEvent

source§

impl HasParent for TreeWalker

source§

impl HasParent for UIEvent

source§

impl HasParent for URL

source§

impl HasParent for URLSearchParams

source§

impl HasParent for ValidityState

source§

impl HasParent for VideoTrack

source§

impl HasParent for VideoTrackList

source§

impl HasParent for VTTCue

source§

impl HasParent for VTTRegion

source§

impl HasParent for WebGL2RenderingContext

source§

impl HasParent for ANGLEInstancedArrays

source§

impl HasParent for EXTBlendMinmax

source§

impl HasParent for EXTColorBufferHalfFloat

source§

impl HasParent for EXTFragDepth

source§

impl HasParent for EXTShaderTextureLod

source§

impl HasParent for EXTTextureFilterAnisotropic

source§

impl HasParent for OESElementIndexUint

source§

impl HasParent for OESStandardDerivatives

source§

impl HasParent for OESTextureFloat

source§

impl HasParent for OESTextureFloatLinear

source§

impl HasParent for OESTextureHalfFloat

source§

impl HasParent for OESTextureHalfFloatLinear

source§

impl HasParent for OESVertexArrayObject

source§

impl HasParent for WEBGLColorBufferFloat

source§

impl HasParent for WEBGLCompressedTextureETC1

source§

impl HasParent for WEBGLCompressedTextureS3TC

source§

impl HasParent for WebGLActiveInfo

source§

impl HasParent for WebGLBuffer

source§

impl HasParent for WebGLContextEvent

source§

impl HasParent for WebGLFramebuffer

source§

impl HasParent for WebGLObject

source§

impl HasParent for WebGLProgram

source§

impl HasParent for WebGLQuery

source§

impl HasParent for WebGLRenderbuffer

source§

impl HasParent for WebGLRenderingContext

source§

impl HasParent for WebGLSampler

source§

impl HasParent for WebGLShader

source§

impl HasParent for WebGLShaderPrecisionFormat

source§

impl HasParent for WebGLSync

source§

impl HasParent for WebGLTexture

source§

impl HasParent for WebGLTransformFeedback

source§

impl HasParent for WebGLUniformLocation

source§

impl HasParent for WebGLVertexArrayObject

source§

impl HasParent for WebGLVertexArrayObjectOES

source§

impl HasParent for WebSocket

source§

impl HasParent for WheelEvent

source§

impl HasParent for Window

source§

impl HasParent for WindowProxy

source§

impl HasParent for Worker

source§

impl HasParent for WorkerGlobalScope

source§

impl HasParent for WorkerLocation

source§

impl HasParent for WorkerNavigator

source§

impl HasParent for Worklet

source§

impl HasParent for WorkletGlobalScope

source§

impl HasParent for XMLDocument

source§

impl HasParent for XMLHttpRequest

source§

impl HasParent for XMLHttpRequestEventTarget

source§

impl HasParent for XMLHttpRequestUpload

source§

impl HasParent for XMLSerializer

source§

impl HasParent for XRCompositionLayer

source§

impl HasParent for XRCubeLayer

source§

impl HasParent for XRCylinderLayer

source§

impl HasParent for XREquirectLayer

source§

impl HasParent for XRFrame

source§

impl HasParent for XRHand

source§

impl HasParent for XRHitTestResult

source§

impl HasParent for XRHitTestSource

source§

impl HasParent for XRInputSource

source§

impl HasParent for XRInputSourceArray

source§

impl HasParent for XRInputSourceEvent

source§

impl HasParent for XRInputSourcesChangeEvent

source§

impl HasParent for XRJointPose

source§

impl HasParent for XRJointSpace

source§

impl HasParent for XRLayer

source§

impl HasParent for XRLayerEvent

source§

impl HasParent for XRMediaBinding

source§

impl HasParent for XRPose

source§

impl HasParent for XRProjectionLayer

source§

impl HasParent for XRQuadLayer

source§

impl HasParent for XRRay

source§

impl HasParent for XRReferenceSpace

source§

impl HasParent for XRRenderState

source§

impl HasParent for XRRigidTransform

source§

impl HasParent for XRSession

source§

impl HasParent for XRSessionEvent

source§

impl HasParent for XRSpace

source§

impl HasParent for XRSubImage

source§

impl HasParent for XRSystem

source§

impl HasParent for XRTest

source§

impl HasParent for XRView

source§

impl HasParent for XRViewerPose

source§

impl HasParent for XRViewport

source§

impl HasParent for XRWebGLBinding

source§

impl HasParent for XRWebGLLayer

source§

impl HasParent for XRWebGLSubImage