Skip to main content

Constructor

Enum Constructor 

Source
#[repr(u16)]
pub enum Constructor {
Show 138 variants AbstractRange = 609, AnimationEffect = 610, AnimationTimeline = 611, AudioNode = 612, AudioScheduledSourceNode = 613, BaseAudioContext = 614, Blob = 615, CSS = 616, CSSConditionRule = 617, CSSGroupingRule = 618, CSSRule = 619, CSSStyleDeclaration = 620, CharacterData = 621, Client = 622, Console = 623, Credential = 624, DOMException = 625, DOMMatrixReadOnly = 626, DOMPointReadOnly = 627, DOMRectReadOnly = 628, Document = 629, DocumentFragment = 630, Element = 631, Event = 632, EventTarget = 633, ExtendableEvent = 634, FileSystemEntry = 635, GPUBufferUsage = 636, GPUColorWrite = 637, GPUError = 638, GPUMapMode = 639, GPUShaderStage = 640, GPUTextureUsage = 641, HTMLAnchorElement = 642, HTMLAreaElement = 643, HTMLAudioElement = 644, HTMLBRElement = 645, HTMLBaseElement = 646, HTMLBodyElement = 647, HTMLButtonElement = 648, HTMLCanvasElement = 649, HTMLCollection = 650, HTMLDListElement = 651, HTMLDataElement = 652, HTMLDataListElement = 653, HTMLDetailsElement = 654, HTMLDialogElement = 655, HTMLDirectoryElement = 656, HTMLDivElement = 657, HTMLElement = 658, HTMLEmbedElement = 659, HTMLFieldSetElement = 660, HTMLFontElement = 661, HTMLFormElement = 662, HTMLFrameElement = 663, HTMLFrameSetElement = 664, HTMLHRElement = 665, HTMLHeadElement = 666, HTMLHeadingElement = 667, HTMLHtmlElement = 668, HTMLIFrameElement = 669, HTMLImageElement = 670, HTMLInputElement = 671, HTMLLIElement = 672, HTMLLabelElement = 673, HTMLLegendElement = 674, HTMLLinkElement = 675, HTMLMapElement = 676, HTMLMarqueeElement = 677, HTMLMediaElement = 678, HTMLMenuElement = 679, HTMLMetaElement = 680, HTMLMeterElement = 681, HTMLModElement = 682, HTMLOListElement = 683, HTMLObjectElement = 684, HTMLOptGroupElement = 685, HTMLOptionElement = 686, HTMLOutputElement = 687, HTMLParagraphElement = 688, HTMLParamElement = 689, HTMLPictureElement = 690, HTMLPreElement = 691, HTMLProgressElement = 692, HTMLQuoteElement = 693, HTMLScriptElement = 694, HTMLSelectElement = 695, HTMLSlotElement = 696, HTMLSourceElement = 697, HTMLSpanElement = 698, HTMLStyleElement = 699, HTMLTableCaptionElement = 700, HTMLTableCellElement = 701, HTMLTableColElement = 702, HTMLTableElement = 703, HTMLTableRowElement = 704, HTMLTableSectionElement = 705, HTMLTemplateElement = 706, HTMLTextAreaElement = 707, HTMLTimeElement = 708, HTMLTitleElement = 709, HTMLTrackElement = 710, HTMLUListElement = 711, HTMLVideoElement = 712, IDBCursor = 713, IDBRequest = 714, MouseEvent = 715, Node = 716, NodeFilter = 717, NodeList = 718, PerformanceEntry = 719, PerformanceResourceTiming = 720, PermissionStatus = 721, SVGElement = 722, SVGGeometryElement = 723, SVGGradientElement = 724, SVGGraphicsElement = 725, SVGTextContentElement = 726, SVGTextPositioningElement = 727, ServoTestUtils = 728, StyleSheet = 729, TestBinding = 730, TestNS = 731, TestUtils = 732, Text = 733, TextTrackCue = 734, UIEvent = 735, WebGLObject = 736, WorkerGlobalScope = 737, WorkletGlobalScope = 738, XMLHttpRequestEventTarget = 739, XRCompositionLayer = 740, XRLayer = 741, XRPose = 742, XRReferenceSpace = 743, XRSpace = 744, XRSubImage = 745, Last = 746,
}

Variants§

§

AbstractRange = 609

§

AnimationEffect = 610

§

AnimationTimeline = 611

§

AudioNode = 612

§

AudioScheduledSourceNode = 613

§

BaseAudioContext = 614

§

Blob = 615

§

CSS = 616

§

CSSConditionRule = 617

§

CSSGroupingRule = 618

§

CSSRule = 619

§

CSSStyleDeclaration = 620

§

CharacterData = 621

§

Client = 622

§

Console = 623

§

Credential = 624

§

DOMException = 625

§

DOMMatrixReadOnly = 626

§

DOMPointReadOnly = 627

§

DOMRectReadOnly = 628

§

Document = 629

§

DocumentFragment = 630

§

Element = 631

§

Event = 632

§

EventTarget = 633

§

ExtendableEvent = 634

§

FileSystemEntry = 635

§

GPUBufferUsage = 636

§

GPUColorWrite = 637

§

GPUError = 638

§

GPUMapMode = 639

§

GPUShaderStage = 640

§

GPUTextureUsage = 641

§

HTMLAnchorElement = 642

§

HTMLAreaElement = 643

§

HTMLAudioElement = 644

§

HTMLBRElement = 645

§

HTMLBaseElement = 646

§

HTMLBodyElement = 647

§

HTMLButtonElement = 648

§

HTMLCanvasElement = 649

§

HTMLCollection = 650

§

HTMLDListElement = 651

§

HTMLDataElement = 652

§

HTMLDataListElement = 653

§

HTMLDetailsElement = 654

§

HTMLDialogElement = 655

§

HTMLDirectoryElement = 656

§

HTMLDivElement = 657

§

HTMLElement = 658

§

HTMLEmbedElement = 659

§

HTMLFieldSetElement = 660

§

HTMLFontElement = 661

§

HTMLFormElement = 662

§

HTMLFrameElement = 663

§

HTMLFrameSetElement = 664

§

HTMLHRElement = 665

§

HTMLHeadElement = 666

§

HTMLHeadingElement = 667

§

HTMLHtmlElement = 668

§

HTMLIFrameElement = 669

§

HTMLImageElement = 670

§

HTMLInputElement = 671

§

HTMLLIElement = 672

§

HTMLLabelElement = 673

§

HTMLLegendElement = 674

§

HTMLLinkElement = 675

§

HTMLMapElement = 676

§

HTMLMarqueeElement = 677

§

HTMLMediaElement = 678

§

HTMLMenuElement = 679

§

HTMLMetaElement = 680

§

HTMLMeterElement = 681

§

HTMLModElement = 682

§

HTMLOListElement = 683

§

HTMLObjectElement = 684

§

HTMLOptGroupElement = 685

§

HTMLOptionElement = 686

§

HTMLOutputElement = 687

§

HTMLParagraphElement = 688

§

HTMLParamElement = 689

§

HTMLPictureElement = 690

§

HTMLPreElement = 691

§

HTMLProgressElement = 692

§

HTMLQuoteElement = 693

§

HTMLScriptElement = 694

§

HTMLSelectElement = 695

§

HTMLSlotElement = 696

§

HTMLSourceElement = 697

§

HTMLSpanElement = 698

§

HTMLStyleElement = 699

§

HTMLTableCaptionElement = 700

§

HTMLTableCellElement = 701

§

HTMLTableColElement = 702

§

HTMLTableElement = 703

§

HTMLTableRowElement = 704

§

HTMLTableSectionElement = 705

§

HTMLTemplateElement = 706

§

HTMLTextAreaElement = 707

§

HTMLTimeElement = 708

§

HTMLTitleElement = 709

§

HTMLTrackElement = 710

§

HTMLUListElement = 711

§

HTMLVideoElement = 712

§

IDBCursor = 713

§

IDBRequest = 714

§

MouseEvent = 715

§

Node = 716

§

NodeFilter = 717

§

NodeList = 718

§

PerformanceEntry = 719

§

PerformanceResourceTiming = 720

§

PermissionStatus = 721

§

SVGElement = 722

§

SVGGeometryElement = 723

§

SVGGradientElement = 724

§

SVGGraphicsElement = 725

§

SVGTextContentElement = 726

§

SVGTextPositioningElement = 727

§

ServoTestUtils = 728

§

StyleSheet = 729

§

TestBinding = 730

§

TestNS = 731

§

TestUtils = 732

§

Text = 733

§

TextTrackCue = 734

§

UIEvent = 735

§

WebGLObject = 736

§

WorkerGlobalScope = 737

§

WorkletGlobalScope = 738

§

XMLHttpRequestEventTarget = 739

§

XRCompositionLayer = 740

§

XRLayer = 741

§

XRPose = 742

§

XRReferenceSpace = 743

§

XRSpace = 744

§

XRSubImage = 745

§

Last = 746

Trait Implementations§

Source§

impl Clone for Constructor

Source§

fn clone(&self) -> Constructor

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Copy for Constructor

Source§

impl PartialEq for Constructor

Source§

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

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

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

Inequality operator !=. Read more
Source§

impl StructuralPartialEq for Constructor

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> 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<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
where ST: ?Sized, DT: ?Sized,

Source§

impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
where ST: ?Sized, DT: ?Sized,

Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> Downcast<T> for T

Source§

fn downcast(&self) -> &T

Source§

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

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> Read<Exclusive, BecauseExclusive> for T
where T: ?Sized,

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T, S> SimdFrom<T, S> for T
where S: Simd,

Source§

fn simd_from(_simd: S, value: T) -> T

Source§

impl<F, T, S> SimdInto<T, S> for F
where T: SimdFrom<F, S>, S: Simd,

Source§

fn simd_into(self, simd: S) -> T

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
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<T> WasmNotSend for T
where T: Send,

Source§

impl<T> WasmNotSendSync for T

Source§

impl<T> WasmNotSync for T
where T: Sync,

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