Enum script::dom::bindings::codegen::PrototypeList::Constructor
source · #[repr(u16)]pub enum Constructor {
Show 114 variants
AbstractRange,
AudioNode,
AudioScheduledSourceNode,
BaseAudioContext,
Blob,
CSSConditionRule,
CSSGroupingRule,
CSSRule,
CharacterData,
Console,
DOMException,
DOMMatrixReadOnly,
DOMPointReadOnly,
DOMRectReadOnly,
Document,
DocumentFragment,
Element,
Event,
EventTarget,
ExtendableEvent,
HTMLAnchorElement,
HTMLAreaElement,
HTMLAudioElement,
HTMLBRElement,
HTMLBaseElement,
HTMLBodyElement,
HTMLButtonElement,
HTMLCanvasElement,
HTMLCollection,
HTMLDListElement,
HTMLDataElement,
HTMLDataListElement,
HTMLDetailsElement,
HTMLDialogElement,
HTMLDirectoryElement,
HTMLDivElement,
HTMLElement,
HTMLEmbedElement,
HTMLFieldSetElement,
HTMLFontElement,
HTMLFormElement,
HTMLFrameElement,
HTMLFrameSetElement,
HTMLHRElement,
HTMLHeadElement,
HTMLHeadingElement,
HTMLHtmlElement,
HTMLIFrameElement,
HTMLImageElement,
HTMLInputElement,
HTMLLIElement,
HTMLLabelElement,
HTMLLegendElement,
HTMLLinkElement,
HTMLMapElement,
HTMLMediaElement,
HTMLMenuElement,
HTMLMetaElement,
HTMLMeterElement,
HTMLModElement,
HTMLOListElement,
HTMLObjectElement,
HTMLOptGroupElement,
HTMLOptionElement,
HTMLOutputElement,
HTMLParagraphElement,
HTMLParamElement,
HTMLPictureElement,
HTMLPreElement,
HTMLProgressElement,
HTMLQuoteElement,
HTMLScriptElement,
HTMLSelectElement,
HTMLSourceElement,
HTMLSpanElement,
HTMLStyleElement,
HTMLTableCaptionElement,
HTMLTableCellElement,
HTMLTableColElement,
HTMLTableElement,
HTMLTableRowElement,
HTMLTableSectionElement,
HTMLTemplateElement,
HTMLTextAreaElement,
HTMLTimeElement,
HTMLTitleElement,
HTMLTrackElement,
HTMLUListElement,
HTMLVideoElement,
MouseEvent,
Node,
NodeFilter,
NodeList,
PerformanceEntry,
PerformanceResourceTiming,
PermissionStatus,
SVGElement,
SVGGraphicsElement,
StyleSheet,
TestBinding,
TestNS,
Text,
TextTrackCue,
UIEvent,
WebGLObject,
WorkerGlobalScope,
WorkletGlobalScope,
XMLHttpRequestEventTarget,
XRCompositionLayer,
XRLayer,
XRPose,
XRSpace,
XRSubImage,
Last,
}
Variants§
AbstractRange
AudioNode
AudioScheduledSourceNode
BaseAudioContext
Blob
CSSConditionRule
CSSGroupingRule
CSSRule
CharacterData
Console
DOMException
DOMMatrixReadOnly
DOMPointReadOnly
DOMRectReadOnly
Document
DocumentFragment
Element
Event
EventTarget
ExtendableEvent
HTMLAnchorElement
HTMLAreaElement
HTMLAudioElement
HTMLBRElement
HTMLBaseElement
HTMLBodyElement
HTMLButtonElement
HTMLCanvasElement
HTMLCollection
HTMLDListElement
HTMLDataElement
HTMLDataListElement
HTMLDetailsElement
HTMLDialogElement
HTMLDirectoryElement
HTMLDivElement
HTMLElement
HTMLEmbedElement
HTMLFieldSetElement
HTMLFontElement
HTMLFormElement
HTMLFrameElement
HTMLFrameSetElement
HTMLHRElement
HTMLHeadElement
HTMLHeadingElement
HTMLHtmlElement
HTMLIFrameElement
HTMLImageElement
HTMLInputElement
HTMLLIElement
HTMLLabelElement
HTMLLegendElement
HTMLLinkElement
HTMLMapElement
HTMLMediaElement
HTMLMenuElement
HTMLMetaElement
HTMLMeterElement
HTMLModElement
HTMLOListElement
HTMLObjectElement
HTMLOptGroupElement
HTMLOptionElement
HTMLOutputElement
HTMLParagraphElement
HTMLParamElement
HTMLPictureElement
HTMLPreElement
HTMLProgressElement
HTMLQuoteElement
HTMLScriptElement
HTMLSelectElement
HTMLSourceElement
HTMLSpanElement
HTMLStyleElement
HTMLTableCaptionElement
HTMLTableCellElement
HTMLTableColElement
HTMLTableElement
HTMLTableRowElement
HTMLTableSectionElement
HTMLTemplateElement
HTMLTextAreaElement
HTMLTimeElement
HTMLTitleElement
HTMLTrackElement
HTMLUListElement
HTMLVideoElement
MouseEvent
Node
NodeFilter
NodeList
PerformanceEntry
PerformanceResourceTiming
PermissionStatus
SVGElement
SVGGraphicsElement
StyleSheet
TestBinding
TestNS
Text
TextTrackCue
UIEvent
WebGLObject
WorkerGlobalScope
WorkletGlobalScope
XMLHttpRequestEventTarget
XRCompositionLayer
XRLayer
XRPose
XRSpace
XRSubImage
Last
Trait Implementations§
source§impl Clone for Constructor
impl Clone for Constructor
source§fn clone(&self) -> Constructor
fn clone(&self) -> Constructor
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl PartialEq<Constructor> for Constructor
impl PartialEq<Constructor> for Constructor
source§fn eq(&self, other: &Constructor) -> bool
fn eq(&self, other: &Constructor) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for Constructor
impl StructuralPartialEq for Constructor
Auto Trait Implementations§
impl RefUnwindSafe for Constructor
impl Send for Constructor
impl Sync for Constructor
impl Unpin for Constructor
impl UnwindSafe for Constructor
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
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 moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>where
F: FnOnce(&Self) -> bool,
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 moresource§impl<T> MaybeBoxed<Box<T, Global>> for T
impl<T> MaybeBoxed<Box<T, Global>> for T
source§fn maybe_boxed(self) -> Box<T, Global>
fn maybe_boxed(self) -> Box<T, Global>
Convert
source§impl<T> MaybeBoxed<T> for T
impl<T> MaybeBoxed<T> for T
source§fn maybe_boxed(self) -> T
fn maybe_boxed(self) -> T
Convert