Struct HTMLOrSVGElement

Source
pub struct HTMLOrSVGElement(/* private fields */);

Implementations§

Source§

impl HTMLOrSVGElement

Source

pub fn blur(&self) -> JsNullish

Source

pub fn focus(&self, options: &dyn ToJs<JsNullable<FocusOptions>>) -> JsNullish

Source

pub fn get_tab_index(&self) -> JsNumber

Source

pub fn set_tab_index(&self, value: &dyn ToJs<JsNumber>)

Source

pub fn get_nonce(&self) -> JsNullable<JsString>

Source

pub fn set_nonce(&self, value: &dyn ToJs<JsNullable<JsString>>)

Source

pub fn get_dataset(&self) -> DOMStringMap

Source

pub fn set_dataset(&self, value: &DOMStringMap)

Source

pub fn get_autofocus(&self) -> JsBoolean

Source

pub fn set_autofocus(&self, value: &dyn ToJs<JsBoolean>)

Methods from Deref<Target = JsObject>§

Source

pub fn js_get_field(&self, property: &dyn UseInJsCode) -> JsValue

Get a field value of in this object.

WSDOM provides built-in getters so you should use that instead when possible.

Use js_get_field only when needed

fn example(browser: Browser) {
    // you can get `window["location"]["href"]` like this
    let href: JsValue = wsdom::dom::location(&browser).js_get_field(&"href");

    // but you should use built-in getters instead
    let href: JsString = wsdom::dom::location(&browser).get_href();
}
Source

pub fn js_set_field(&self, property: &dyn UseInJsCode, value: &dyn UseInJsCode)

Set a field value of in this object.

WSDOM provides built-in setters so you should use that instead when possible.

Use js_set_field only when needed

fn example(browser: Browser) {
    // you can set `window["location"]["href"]` like this
    wsdom::dom::location(&browser).js_set_field(&"href", &"https://example.com/");

    // but you should use built-in setters instead
    wsdom::dom::location(&browser).set_href(&"https://example.com");
}
Source

pub fn js_call_method<'a>( &'a self, method_name: &'a str, args: impl IntoIterator<Item = &'a dyn UseInJsCode>, last_arg_variadic: bool, ) -> JsValue

Call a method on this object.

Most types in WSDOM already come with safe Rust wrappers for their methods, so you should use those instead.

fn example(browser: &Browser) {
    let console = wsdom::dom::console(browser);
    // you can call console.log like this
    console.js_call_method("log", [&"hello" as &_], false);
     
    // but the better way is to use
    wsdom::dom::console(&browser).log(&[&"Hello" as &_]);
}

Be aware that the first argument (method_name) is NOT escaped.

Set last_arg_variadic to true if you want to “spread” the last argument as obj.method(arg1, arg2, ...arg3).

Source

pub fn js_call_self<'a>( &'a self, args: impl IntoIterator<Item = &'a dyn UseInJsCode>, last_arg_variadic: bool, ) -> JsValue

Call this object: obj().

Most types in WSDOM already come with safe Rust wrappers for their methods, so you should use those instead.

Methods from Deref<Target = JsValue>§

Source

pub fn browser(&self) -> &Browser

Source

pub fn retrieve_json(&self) -> RetrieveFuture<'_, Value>

Retrive this value from the JS side to the Rust side. Returns Future whose output is a serde_json::Value.

§use wsdom::dom::Browser
§use wsdom::dom::HTMLInputElement;

async fn example(input: &HTMLInputElement) { let _val = input.get_value().retrieve_json().await; }

Trait Implementations§

Source§

impl AsRef<HTMLOrSVGElement> for HTMLAnchorElement

Source§

fn as_ref(&self) -> &HTMLOrSVGElement

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<HTMLOrSVGElement> for HTMLAreaElement

Source§

fn as_ref(&self) -> &HTMLOrSVGElement

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<HTMLOrSVGElement> for HTMLAudioElement

Source§

fn as_ref(&self) -> &HTMLOrSVGElement

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<HTMLOrSVGElement> for HTMLBRElement

Source§

fn as_ref(&self) -> &HTMLOrSVGElement

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<HTMLOrSVGElement> for HTMLBaseElement

Source§

fn as_ref(&self) -> &HTMLOrSVGElement

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<HTMLOrSVGElement> for HTMLBodyElement

Source§

fn as_ref(&self) -> &HTMLOrSVGElement

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<HTMLOrSVGElement> for HTMLButtonElement

Source§

fn as_ref(&self) -> &HTMLOrSVGElement

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<HTMLOrSVGElement> for HTMLCanvasElement

Source§

fn as_ref(&self) -> &HTMLOrSVGElement

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<HTMLOrSVGElement> for HTMLDListElement

Source§

fn as_ref(&self) -> &HTMLOrSVGElement

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<HTMLOrSVGElement> for HTMLDataElement

Source§

fn as_ref(&self) -> &HTMLOrSVGElement

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<HTMLOrSVGElement> for HTMLDataListElement

Source§

fn as_ref(&self) -> &HTMLOrSVGElement

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<HTMLOrSVGElement> for HTMLDetailsElement

Source§

fn as_ref(&self) -> &HTMLOrSVGElement

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<HTMLOrSVGElement> for HTMLDialogElement

Source§

fn as_ref(&self) -> &HTMLOrSVGElement

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<HTMLOrSVGElement> for HTMLDirectoryElement

Source§

fn as_ref(&self) -> &HTMLOrSVGElement

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<HTMLOrSVGElement> for HTMLDivElement

Source§

fn as_ref(&self) -> &HTMLOrSVGElement

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<HTMLOrSVGElement> for HTMLElement

Source§

fn as_ref(&self) -> &HTMLOrSVGElement

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<HTMLOrSVGElement> for HTMLEmbedElement

Source§

fn as_ref(&self) -> &HTMLOrSVGElement

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<HTMLOrSVGElement> for HTMLFieldSetElement

Source§

fn as_ref(&self) -> &HTMLOrSVGElement

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<HTMLOrSVGElement> for HTMLFontElement

Source§

fn as_ref(&self) -> &HTMLOrSVGElement

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<HTMLOrSVGElement> for HTMLFormElement

Source§

fn as_ref(&self) -> &HTMLOrSVGElement

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<HTMLOrSVGElement> for HTMLFrameElement

Source§

fn as_ref(&self) -> &HTMLOrSVGElement

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<HTMLOrSVGElement> for HTMLFrameSetElement

Source§

fn as_ref(&self) -> &HTMLOrSVGElement

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<HTMLOrSVGElement> for HTMLHRElement

Source§

fn as_ref(&self) -> &HTMLOrSVGElement

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<HTMLOrSVGElement> for HTMLHeadElement

Source§

fn as_ref(&self) -> &HTMLOrSVGElement

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<HTMLOrSVGElement> for HTMLHeadingElement

Source§

fn as_ref(&self) -> &HTMLOrSVGElement

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<HTMLOrSVGElement> for HTMLHtmlElement

Source§

fn as_ref(&self) -> &HTMLOrSVGElement

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<HTMLOrSVGElement> for HTMLIFrameElement

Source§

fn as_ref(&self) -> &HTMLOrSVGElement

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<HTMLOrSVGElement> for HTMLImageElement

Source§

fn as_ref(&self) -> &HTMLOrSVGElement

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<HTMLOrSVGElement> for HTMLInputElement

Source§

fn as_ref(&self) -> &HTMLOrSVGElement

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<HTMLOrSVGElement> for HTMLLIElement

Source§

fn as_ref(&self) -> &HTMLOrSVGElement

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<HTMLOrSVGElement> for HTMLLabelElement

Source§

fn as_ref(&self) -> &HTMLOrSVGElement

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<HTMLOrSVGElement> for HTMLLegendElement

Source§

fn as_ref(&self) -> &HTMLOrSVGElement

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<HTMLOrSVGElement> for HTMLLinkElement

Source§

fn as_ref(&self) -> &HTMLOrSVGElement

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<HTMLOrSVGElement> for HTMLMapElement

Source§

fn as_ref(&self) -> &HTMLOrSVGElement

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<HTMLOrSVGElement> for HTMLMarqueeElement

Source§

fn as_ref(&self) -> &HTMLOrSVGElement

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<HTMLOrSVGElement> for HTMLMediaElement

Source§

fn as_ref(&self) -> &HTMLOrSVGElement

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<HTMLOrSVGElement> for HTMLMenuElement

Source§

fn as_ref(&self) -> &HTMLOrSVGElement

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<HTMLOrSVGElement> for HTMLMetaElement

Source§

fn as_ref(&self) -> &HTMLOrSVGElement

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<HTMLOrSVGElement> for HTMLMeterElement

Source§

fn as_ref(&self) -> &HTMLOrSVGElement

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<HTMLOrSVGElement> for HTMLModElement

Source§

fn as_ref(&self) -> &HTMLOrSVGElement

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<HTMLOrSVGElement> for HTMLOListElement

Source§

fn as_ref(&self) -> &HTMLOrSVGElement

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<HTMLOrSVGElement> for HTMLObjectElement

Source§

fn as_ref(&self) -> &HTMLOrSVGElement

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<HTMLOrSVGElement> for HTMLOptGroupElement

Source§

fn as_ref(&self) -> &HTMLOrSVGElement

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<HTMLOrSVGElement> for HTMLOptionElement

Source§

fn as_ref(&self) -> &HTMLOrSVGElement

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<HTMLOrSVGElement> for HTMLOrSVGElement

Source§

fn as_ref(&self) -> &Self

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<HTMLOrSVGElement> for HTMLOutputElement

Source§

fn as_ref(&self) -> &HTMLOrSVGElement

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<HTMLOrSVGElement> for HTMLParagraphElement

Source§

fn as_ref(&self) -> &HTMLOrSVGElement

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<HTMLOrSVGElement> for HTMLParamElement

Source§

fn as_ref(&self) -> &HTMLOrSVGElement

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<HTMLOrSVGElement> for HTMLPictureElement

Source§

fn as_ref(&self) -> &HTMLOrSVGElement

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<HTMLOrSVGElement> for HTMLPreElement

Source§

fn as_ref(&self) -> &HTMLOrSVGElement

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<HTMLOrSVGElement> for HTMLProgressElement

Source§

fn as_ref(&self) -> &HTMLOrSVGElement

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<HTMLOrSVGElement> for HTMLQuoteElement

Source§

fn as_ref(&self) -> &HTMLOrSVGElement

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<HTMLOrSVGElement> for HTMLScriptElement

Source§

fn as_ref(&self) -> &HTMLOrSVGElement

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<HTMLOrSVGElement> for HTMLSelectElement

Source§

fn as_ref(&self) -> &HTMLOrSVGElement

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<HTMLOrSVGElement> for HTMLSlotElement

Source§

fn as_ref(&self) -> &HTMLOrSVGElement

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<HTMLOrSVGElement> for HTMLSourceElement

Source§

fn as_ref(&self) -> &HTMLOrSVGElement

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<HTMLOrSVGElement> for HTMLSpanElement

Source§

fn as_ref(&self) -> &HTMLOrSVGElement

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<HTMLOrSVGElement> for HTMLStyleElement

Source§

fn as_ref(&self) -> &HTMLOrSVGElement

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<HTMLOrSVGElement> for HTMLTableCaptionElement

Source§

fn as_ref(&self) -> &HTMLOrSVGElement

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<HTMLOrSVGElement> for HTMLTableCellElement

Source§

fn as_ref(&self) -> &HTMLOrSVGElement

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<HTMLOrSVGElement> for HTMLTableColElement

Source§

fn as_ref(&self) -> &HTMLOrSVGElement

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<HTMLOrSVGElement> for HTMLTableDataCellElement

Source§

fn as_ref(&self) -> &HTMLOrSVGElement

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<HTMLOrSVGElement> for HTMLTableElement

Source§

fn as_ref(&self) -> &HTMLOrSVGElement

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<HTMLOrSVGElement> for HTMLTableHeaderCellElement

Source§

fn as_ref(&self) -> &HTMLOrSVGElement

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<HTMLOrSVGElement> for HTMLTableRowElement

Source§

fn as_ref(&self) -> &HTMLOrSVGElement

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<HTMLOrSVGElement> for HTMLTableSectionElement

Source§

fn as_ref(&self) -> &HTMLOrSVGElement

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<HTMLOrSVGElement> for HTMLTemplateElement

Source§

fn as_ref(&self) -> &HTMLOrSVGElement

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<HTMLOrSVGElement> for HTMLTextAreaElement

Source§

fn as_ref(&self) -> &HTMLOrSVGElement

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<HTMLOrSVGElement> for HTMLTimeElement

Source§

fn as_ref(&self) -> &HTMLOrSVGElement

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<HTMLOrSVGElement> for HTMLTitleElement

Source§

fn as_ref(&self) -> &HTMLOrSVGElement

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<HTMLOrSVGElement> for HTMLTrackElement

Source§

fn as_ref(&self) -> &HTMLOrSVGElement

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<HTMLOrSVGElement> for HTMLUListElement

Source§

fn as_ref(&self) -> &HTMLOrSVGElement

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<HTMLOrSVGElement> for HTMLUnknownElement

Source§

fn as_ref(&self) -> &HTMLOrSVGElement

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<HTMLOrSVGElement> for HTMLVideoElement

Source§

fn as_ref(&self) -> &HTMLOrSVGElement

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<HTMLOrSVGElement> for MathMLElement

Source§

fn as_ref(&self) -> &HTMLOrSVGElement

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<HTMLOrSVGElement> for SVGAElement

Source§

fn as_ref(&self) -> &HTMLOrSVGElement

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<HTMLOrSVGElement> for SVGAnimateElement

Source§

fn as_ref(&self) -> &HTMLOrSVGElement

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<HTMLOrSVGElement> for SVGAnimateMotionElement

Source§

fn as_ref(&self) -> &HTMLOrSVGElement

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<HTMLOrSVGElement> for SVGAnimateTransformElement

Source§

fn as_ref(&self) -> &HTMLOrSVGElement

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<HTMLOrSVGElement> for SVGAnimationElement

Source§

fn as_ref(&self) -> &HTMLOrSVGElement

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<HTMLOrSVGElement> for SVGCircleElement

Source§

fn as_ref(&self) -> &HTMLOrSVGElement

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<HTMLOrSVGElement> for SVGClipPathElement

Source§

fn as_ref(&self) -> &HTMLOrSVGElement

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<HTMLOrSVGElement> for SVGComponentTransferFunctionElement

Source§

fn as_ref(&self) -> &HTMLOrSVGElement

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<HTMLOrSVGElement> for SVGDefsElement

Source§

fn as_ref(&self) -> &HTMLOrSVGElement

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<HTMLOrSVGElement> for SVGDescElement

Source§

fn as_ref(&self) -> &HTMLOrSVGElement

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<HTMLOrSVGElement> for SVGElement

Source§

fn as_ref(&self) -> &HTMLOrSVGElement

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<HTMLOrSVGElement> for SVGEllipseElement

Source§

fn as_ref(&self) -> &HTMLOrSVGElement

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<HTMLOrSVGElement> for SVGFEBlendElement

Source§

fn as_ref(&self) -> &HTMLOrSVGElement

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<HTMLOrSVGElement> for SVGFEColorMatrixElement

Source§

fn as_ref(&self) -> &HTMLOrSVGElement

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<HTMLOrSVGElement> for SVGFEComponentTransferElement

Source§

fn as_ref(&self) -> &HTMLOrSVGElement

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<HTMLOrSVGElement> for SVGFECompositeElement

Source§

fn as_ref(&self) -> &HTMLOrSVGElement

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<HTMLOrSVGElement> for SVGFEConvolveMatrixElement

Source§

fn as_ref(&self) -> &HTMLOrSVGElement

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<HTMLOrSVGElement> for SVGFEDiffuseLightingElement

Source§

fn as_ref(&self) -> &HTMLOrSVGElement

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<HTMLOrSVGElement> for SVGFEDisplacementMapElement

Source§

fn as_ref(&self) -> &HTMLOrSVGElement

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<HTMLOrSVGElement> for SVGFEDistantLightElement

Source§

fn as_ref(&self) -> &HTMLOrSVGElement

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<HTMLOrSVGElement> for SVGFEDropShadowElement

Source§

fn as_ref(&self) -> &HTMLOrSVGElement

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<HTMLOrSVGElement> for SVGFEFloodElement

Source§

fn as_ref(&self) -> &HTMLOrSVGElement

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<HTMLOrSVGElement> for SVGFEFuncAElement

Source§

fn as_ref(&self) -> &HTMLOrSVGElement

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<HTMLOrSVGElement> for SVGFEFuncBElement

Source§

fn as_ref(&self) -> &HTMLOrSVGElement

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<HTMLOrSVGElement> for SVGFEFuncGElement

Source§

fn as_ref(&self) -> &HTMLOrSVGElement

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<HTMLOrSVGElement> for SVGFEFuncRElement

Source§

fn as_ref(&self) -> &HTMLOrSVGElement

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<HTMLOrSVGElement> for SVGFEGaussianBlurElement

Source§

fn as_ref(&self) -> &HTMLOrSVGElement

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<HTMLOrSVGElement> for SVGFEImageElement

Source§

fn as_ref(&self) -> &HTMLOrSVGElement

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<HTMLOrSVGElement> for SVGFEMergeElement

Source§

fn as_ref(&self) -> &HTMLOrSVGElement

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<HTMLOrSVGElement> for SVGFEMergeNodeElement

Source§

fn as_ref(&self) -> &HTMLOrSVGElement

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<HTMLOrSVGElement> for SVGFEMorphologyElement

Source§

fn as_ref(&self) -> &HTMLOrSVGElement

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<HTMLOrSVGElement> for SVGFEOffsetElement

Source§

fn as_ref(&self) -> &HTMLOrSVGElement

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<HTMLOrSVGElement> for SVGFEPointLightElement

Source§

fn as_ref(&self) -> &HTMLOrSVGElement

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<HTMLOrSVGElement> for SVGFESpecularLightingElement

Source§

fn as_ref(&self) -> &HTMLOrSVGElement

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<HTMLOrSVGElement> for SVGFESpotLightElement

Source§

fn as_ref(&self) -> &HTMLOrSVGElement

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<HTMLOrSVGElement> for SVGFETileElement

Source§

fn as_ref(&self) -> &HTMLOrSVGElement

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<HTMLOrSVGElement> for SVGFETurbulenceElement

Source§

fn as_ref(&self) -> &HTMLOrSVGElement

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<HTMLOrSVGElement> for SVGFilterElement

Source§

fn as_ref(&self) -> &HTMLOrSVGElement

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<HTMLOrSVGElement> for SVGForeignObjectElement

Source§

fn as_ref(&self) -> &HTMLOrSVGElement

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<HTMLOrSVGElement> for SVGGElement

Source§

fn as_ref(&self) -> &HTMLOrSVGElement

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<HTMLOrSVGElement> for SVGGeometryElement

Source§

fn as_ref(&self) -> &HTMLOrSVGElement

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<HTMLOrSVGElement> for SVGGradientElement

Source§

fn as_ref(&self) -> &HTMLOrSVGElement

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<HTMLOrSVGElement> for SVGGraphicsElement

Source§

fn as_ref(&self) -> &HTMLOrSVGElement

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<HTMLOrSVGElement> for SVGImageElement

Source§

fn as_ref(&self) -> &HTMLOrSVGElement

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<HTMLOrSVGElement> for SVGLineElement

Source§

fn as_ref(&self) -> &HTMLOrSVGElement

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<HTMLOrSVGElement> for SVGLinearGradientElement

Source§

fn as_ref(&self) -> &HTMLOrSVGElement

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<HTMLOrSVGElement> for SVGMPathElement

Source§

fn as_ref(&self) -> &HTMLOrSVGElement

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<HTMLOrSVGElement> for SVGMarkerElement

Source§

fn as_ref(&self) -> &HTMLOrSVGElement

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<HTMLOrSVGElement> for SVGMaskElement

Source§

fn as_ref(&self) -> &HTMLOrSVGElement

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<HTMLOrSVGElement> for SVGMetadataElement

Source§

fn as_ref(&self) -> &HTMLOrSVGElement

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<HTMLOrSVGElement> for SVGPathElement

Source§

fn as_ref(&self) -> &HTMLOrSVGElement

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<HTMLOrSVGElement> for SVGPatternElement

Source§

fn as_ref(&self) -> &HTMLOrSVGElement

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<HTMLOrSVGElement> for SVGPolygonElement

Source§

fn as_ref(&self) -> &HTMLOrSVGElement

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<HTMLOrSVGElement> for SVGPolylineElement

Source§

fn as_ref(&self) -> &HTMLOrSVGElement

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<HTMLOrSVGElement> for SVGRadialGradientElement

Source§

fn as_ref(&self) -> &HTMLOrSVGElement

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<HTMLOrSVGElement> for SVGRectElement

Source§

fn as_ref(&self) -> &HTMLOrSVGElement

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<HTMLOrSVGElement> for SVGSVGElement

Source§

fn as_ref(&self) -> &HTMLOrSVGElement

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<HTMLOrSVGElement> for SVGScriptElement

Source§

fn as_ref(&self) -> &HTMLOrSVGElement

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<HTMLOrSVGElement> for SVGSetElement

Source§

fn as_ref(&self) -> &HTMLOrSVGElement

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<HTMLOrSVGElement> for SVGStopElement

Source§

fn as_ref(&self) -> &HTMLOrSVGElement

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<HTMLOrSVGElement> for SVGStyleElement

Source§

fn as_ref(&self) -> &HTMLOrSVGElement

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<HTMLOrSVGElement> for SVGSwitchElement

Source§

fn as_ref(&self) -> &HTMLOrSVGElement

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<HTMLOrSVGElement> for SVGSymbolElement

Source§

fn as_ref(&self) -> &HTMLOrSVGElement

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<HTMLOrSVGElement> for SVGTSpanElement

Source§

fn as_ref(&self) -> &HTMLOrSVGElement

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<HTMLOrSVGElement> for SVGTextContentElement

Source§

fn as_ref(&self) -> &HTMLOrSVGElement

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<HTMLOrSVGElement> for SVGTextElement

Source§

fn as_ref(&self) -> &HTMLOrSVGElement

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<HTMLOrSVGElement> for SVGTextPathElement

Source§

fn as_ref(&self) -> &HTMLOrSVGElement

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<HTMLOrSVGElement> for SVGTextPositioningElement

Source§

fn as_ref(&self) -> &HTMLOrSVGElement

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<HTMLOrSVGElement> for SVGTitleElement

Source§

fn as_ref(&self) -> &HTMLOrSVGElement

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<HTMLOrSVGElement> for SVGUseElement

Source§

fn as_ref(&self) -> &HTMLOrSVGElement

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<HTMLOrSVGElement> for SVGViewElement

Source§

fn as_ref(&self) -> &HTMLOrSVGElement

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<JsObject> for HTMLOrSVGElement

Source§

fn as_ref(&self) -> &JsObject

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<JsValue> for HTMLOrSVGElement

Source§

fn as_ref(&self) -> &JsValue

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl Clone for HTMLOrSVGElement

Source§

fn clone(&self) -> HTMLOrSVGElement

Returns a copy of the value. Read more
1.0.0 · Source§

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

Performs copy-assignment from source. Read more
Source§

impl Deref for HTMLOrSVGElement

Source§

type Target = JsObject

The resulting type after dereferencing.
Source§

fn deref(&self) -> &Self::Target

Dereferences the value.
Source§

impl Into<HTMLOrSVGElement> for HTMLAnchorElement

Source§

fn into(self) -> HTMLOrSVGElement

Converts this type into the (usually inferred) input type.
Source§

impl Into<HTMLOrSVGElement> for HTMLAreaElement

Source§

fn into(self) -> HTMLOrSVGElement

Converts this type into the (usually inferred) input type.
Source§

impl Into<HTMLOrSVGElement> for HTMLAudioElement

Source§

fn into(self) -> HTMLOrSVGElement

Converts this type into the (usually inferred) input type.
Source§

impl Into<HTMLOrSVGElement> for HTMLBRElement

Source§

fn into(self) -> HTMLOrSVGElement

Converts this type into the (usually inferred) input type.
Source§

impl Into<HTMLOrSVGElement> for HTMLBaseElement

Source§

fn into(self) -> HTMLOrSVGElement

Converts this type into the (usually inferred) input type.
Source§

impl Into<HTMLOrSVGElement> for HTMLBodyElement

Source§

fn into(self) -> HTMLOrSVGElement

Converts this type into the (usually inferred) input type.
Source§

impl Into<HTMLOrSVGElement> for HTMLButtonElement

Source§

fn into(self) -> HTMLOrSVGElement

Converts this type into the (usually inferred) input type.
Source§

impl Into<HTMLOrSVGElement> for HTMLCanvasElement

Source§

fn into(self) -> HTMLOrSVGElement

Converts this type into the (usually inferred) input type.
Source§

impl Into<HTMLOrSVGElement> for HTMLDListElement

Source§

fn into(self) -> HTMLOrSVGElement

Converts this type into the (usually inferred) input type.
Source§

impl Into<HTMLOrSVGElement> for HTMLDataElement

Source§

fn into(self) -> HTMLOrSVGElement

Converts this type into the (usually inferred) input type.
Source§

impl Into<HTMLOrSVGElement> for HTMLDataListElement

Source§

fn into(self) -> HTMLOrSVGElement

Converts this type into the (usually inferred) input type.
Source§

impl Into<HTMLOrSVGElement> for HTMLDetailsElement

Source§

fn into(self) -> HTMLOrSVGElement

Converts this type into the (usually inferred) input type.
Source§

impl Into<HTMLOrSVGElement> for HTMLDialogElement

Source§

fn into(self) -> HTMLOrSVGElement

Converts this type into the (usually inferred) input type.
Source§

impl Into<HTMLOrSVGElement> for HTMLDirectoryElement

Source§

fn into(self) -> HTMLOrSVGElement

Converts this type into the (usually inferred) input type.
Source§

impl Into<HTMLOrSVGElement> for HTMLDivElement

Source§

fn into(self) -> HTMLOrSVGElement

Converts this type into the (usually inferred) input type.
Source§

impl Into<HTMLOrSVGElement> for HTMLElement

Source§

fn into(self) -> HTMLOrSVGElement

Converts this type into the (usually inferred) input type.
Source§

impl Into<HTMLOrSVGElement> for HTMLEmbedElement

Source§

fn into(self) -> HTMLOrSVGElement

Converts this type into the (usually inferred) input type.
Source§

impl Into<HTMLOrSVGElement> for HTMLFieldSetElement

Source§

fn into(self) -> HTMLOrSVGElement

Converts this type into the (usually inferred) input type.
Source§

impl Into<HTMLOrSVGElement> for HTMLFontElement

Source§

fn into(self) -> HTMLOrSVGElement

Converts this type into the (usually inferred) input type.
Source§

impl Into<HTMLOrSVGElement> for HTMLFormElement

Source§

fn into(self) -> HTMLOrSVGElement

Converts this type into the (usually inferred) input type.
Source§

impl Into<HTMLOrSVGElement> for HTMLFrameElement

Source§

fn into(self) -> HTMLOrSVGElement

Converts this type into the (usually inferred) input type.
Source§

impl Into<HTMLOrSVGElement> for HTMLFrameSetElement

Source§

fn into(self) -> HTMLOrSVGElement

Converts this type into the (usually inferred) input type.
Source§

impl Into<HTMLOrSVGElement> for HTMLHRElement

Source§

fn into(self) -> HTMLOrSVGElement

Converts this type into the (usually inferred) input type.
Source§

impl Into<HTMLOrSVGElement> for HTMLHeadElement

Source§

fn into(self) -> HTMLOrSVGElement

Converts this type into the (usually inferred) input type.
Source§

impl Into<HTMLOrSVGElement> for HTMLHeadingElement

Source§

fn into(self) -> HTMLOrSVGElement

Converts this type into the (usually inferred) input type.
Source§

impl Into<HTMLOrSVGElement> for HTMLHtmlElement

Source§

fn into(self) -> HTMLOrSVGElement

Converts this type into the (usually inferred) input type.
Source§

impl Into<HTMLOrSVGElement> for HTMLIFrameElement

Source§

fn into(self) -> HTMLOrSVGElement

Converts this type into the (usually inferred) input type.
Source§

impl Into<HTMLOrSVGElement> for HTMLImageElement

Source§

fn into(self) -> HTMLOrSVGElement

Converts this type into the (usually inferred) input type.
Source§

impl Into<HTMLOrSVGElement> for HTMLInputElement

Source§

fn into(self) -> HTMLOrSVGElement

Converts this type into the (usually inferred) input type.
Source§

impl Into<HTMLOrSVGElement> for HTMLLIElement

Source§

fn into(self) -> HTMLOrSVGElement

Converts this type into the (usually inferred) input type.
Source§

impl Into<HTMLOrSVGElement> for HTMLLabelElement

Source§

fn into(self) -> HTMLOrSVGElement

Converts this type into the (usually inferred) input type.
Source§

impl Into<HTMLOrSVGElement> for HTMLLegendElement

Source§

fn into(self) -> HTMLOrSVGElement

Converts this type into the (usually inferred) input type.
Source§

impl Into<HTMLOrSVGElement> for HTMLLinkElement

Source§

fn into(self) -> HTMLOrSVGElement

Converts this type into the (usually inferred) input type.
Source§

impl Into<HTMLOrSVGElement> for HTMLMapElement

Source§

fn into(self) -> HTMLOrSVGElement

Converts this type into the (usually inferred) input type.
Source§

impl Into<HTMLOrSVGElement> for HTMLMarqueeElement

Source§

fn into(self) -> HTMLOrSVGElement

Converts this type into the (usually inferred) input type.
Source§

impl Into<HTMLOrSVGElement> for HTMLMediaElement

Source§

fn into(self) -> HTMLOrSVGElement

Converts this type into the (usually inferred) input type.
Source§

impl Into<HTMLOrSVGElement> for HTMLMenuElement

Source§

fn into(self) -> HTMLOrSVGElement

Converts this type into the (usually inferred) input type.
Source§

impl Into<HTMLOrSVGElement> for HTMLMetaElement

Source§

fn into(self) -> HTMLOrSVGElement

Converts this type into the (usually inferred) input type.
Source§

impl Into<HTMLOrSVGElement> for HTMLMeterElement

Source§

fn into(self) -> HTMLOrSVGElement

Converts this type into the (usually inferred) input type.
Source§

impl Into<HTMLOrSVGElement> for HTMLModElement

Source§

fn into(self) -> HTMLOrSVGElement

Converts this type into the (usually inferred) input type.
Source§

impl Into<HTMLOrSVGElement> for HTMLOListElement

Source§

fn into(self) -> HTMLOrSVGElement

Converts this type into the (usually inferred) input type.
Source§

impl Into<HTMLOrSVGElement> for HTMLObjectElement

Source§

fn into(self) -> HTMLOrSVGElement

Converts this type into the (usually inferred) input type.
Source§

impl Into<HTMLOrSVGElement> for HTMLOptGroupElement

Source§

fn into(self) -> HTMLOrSVGElement

Converts this type into the (usually inferred) input type.
Source§

impl Into<HTMLOrSVGElement> for HTMLOptionElement

Source§

fn into(self) -> HTMLOrSVGElement

Converts this type into the (usually inferred) input type.
Source§

impl Into<HTMLOrSVGElement> for HTMLOutputElement

Source§

fn into(self) -> HTMLOrSVGElement

Converts this type into the (usually inferred) input type.
Source§

impl Into<HTMLOrSVGElement> for HTMLParagraphElement

Source§

fn into(self) -> HTMLOrSVGElement

Converts this type into the (usually inferred) input type.
Source§

impl Into<HTMLOrSVGElement> for HTMLParamElement

Source§

fn into(self) -> HTMLOrSVGElement

Converts this type into the (usually inferred) input type.
Source§

impl Into<HTMLOrSVGElement> for HTMLPictureElement

Source§

fn into(self) -> HTMLOrSVGElement

Converts this type into the (usually inferred) input type.
Source§

impl Into<HTMLOrSVGElement> for HTMLPreElement

Source§

fn into(self) -> HTMLOrSVGElement

Converts this type into the (usually inferred) input type.
Source§

impl Into<HTMLOrSVGElement> for HTMLProgressElement

Source§

fn into(self) -> HTMLOrSVGElement

Converts this type into the (usually inferred) input type.
Source§

impl Into<HTMLOrSVGElement> for HTMLQuoteElement

Source§

fn into(self) -> HTMLOrSVGElement

Converts this type into the (usually inferred) input type.
Source§

impl Into<HTMLOrSVGElement> for HTMLScriptElement

Source§

fn into(self) -> HTMLOrSVGElement

Converts this type into the (usually inferred) input type.
Source§

impl Into<HTMLOrSVGElement> for HTMLSelectElement

Source§

fn into(self) -> HTMLOrSVGElement

Converts this type into the (usually inferred) input type.
Source§

impl Into<HTMLOrSVGElement> for HTMLSlotElement

Source§

fn into(self) -> HTMLOrSVGElement

Converts this type into the (usually inferred) input type.
Source§

impl Into<HTMLOrSVGElement> for HTMLSourceElement

Source§

fn into(self) -> HTMLOrSVGElement

Converts this type into the (usually inferred) input type.
Source§

impl Into<HTMLOrSVGElement> for HTMLSpanElement

Source§

fn into(self) -> HTMLOrSVGElement

Converts this type into the (usually inferred) input type.
Source§

impl Into<HTMLOrSVGElement> for HTMLStyleElement

Source§

fn into(self) -> HTMLOrSVGElement

Converts this type into the (usually inferred) input type.
Source§

impl Into<HTMLOrSVGElement> for HTMLTableCaptionElement

Source§

fn into(self) -> HTMLOrSVGElement

Converts this type into the (usually inferred) input type.
Source§

impl Into<HTMLOrSVGElement> for HTMLTableCellElement

Source§

fn into(self) -> HTMLOrSVGElement

Converts this type into the (usually inferred) input type.
Source§

impl Into<HTMLOrSVGElement> for HTMLTableColElement

Source§

fn into(self) -> HTMLOrSVGElement

Converts this type into the (usually inferred) input type.
Source§

impl Into<HTMLOrSVGElement> for HTMLTableDataCellElement

Source§

fn into(self) -> HTMLOrSVGElement

Converts this type into the (usually inferred) input type.
Source§

impl Into<HTMLOrSVGElement> for HTMLTableElement

Source§

fn into(self) -> HTMLOrSVGElement

Converts this type into the (usually inferred) input type.
Source§

impl Into<HTMLOrSVGElement> for HTMLTableHeaderCellElement

Source§

fn into(self) -> HTMLOrSVGElement

Converts this type into the (usually inferred) input type.
Source§

impl Into<HTMLOrSVGElement> for HTMLTableRowElement

Source§

fn into(self) -> HTMLOrSVGElement

Converts this type into the (usually inferred) input type.
Source§

impl Into<HTMLOrSVGElement> for HTMLTableSectionElement

Source§

fn into(self) -> HTMLOrSVGElement

Converts this type into the (usually inferred) input type.
Source§

impl Into<HTMLOrSVGElement> for HTMLTemplateElement

Source§

fn into(self) -> HTMLOrSVGElement

Converts this type into the (usually inferred) input type.
Source§

impl Into<HTMLOrSVGElement> for HTMLTextAreaElement

Source§

fn into(self) -> HTMLOrSVGElement

Converts this type into the (usually inferred) input type.
Source§

impl Into<HTMLOrSVGElement> for HTMLTimeElement

Source§

fn into(self) -> HTMLOrSVGElement

Converts this type into the (usually inferred) input type.
Source§

impl Into<HTMLOrSVGElement> for HTMLTitleElement

Source§

fn into(self) -> HTMLOrSVGElement

Converts this type into the (usually inferred) input type.
Source§

impl Into<HTMLOrSVGElement> for HTMLTrackElement

Source§

fn into(self) -> HTMLOrSVGElement

Converts this type into the (usually inferred) input type.
Source§

impl Into<HTMLOrSVGElement> for HTMLUListElement

Source§

fn into(self) -> HTMLOrSVGElement

Converts this type into the (usually inferred) input type.
Source§

impl Into<HTMLOrSVGElement> for HTMLUnknownElement

Source§

fn into(self) -> HTMLOrSVGElement

Converts this type into the (usually inferred) input type.
Source§

impl Into<HTMLOrSVGElement> for HTMLVideoElement

Source§

fn into(self) -> HTMLOrSVGElement

Converts this type into the (usually inferred) input type.
Source§

impl Into<HTMLOrSVGElement> for MathMLElement

Source§

fn into(self) -> HTMLOrSVGElement

Converts this type into the (usually inferred) input type.
Source§

impl Into<HTMLOrSVGElement> for SVGAElement

Source§

fn into(self) -> HTMLOrSVGElement

Converts this type into the (usually inferred) input type.
Source§

impl Into<HTMLOrSVGElement> for SVGAnimateElement

Source§

fn into(self) -> HTMLOrSVGElement

Converts this type into the (usually inferred) input type.
Source§

impl Into<HTMLOrSVGElement> for SVGAnimateMotionElement

Source§

fn into(self) -> HTMLOrSVGElement

Converts this type into the (usually inferred) input type.
Source§

impl Into<HTMLOrSVGElement> for SVGAnimateTransformElement

Source§

fn into(self) -> HTMLOrSVGElement

Converts this type into the (usually inferred) input type.
Source§

impl Into<HTMLOrSVGElement> for SVGAnimationElement

Source§

fn into(self) -> HTMLOrSVGElement

Converts this type into the (usually inferred) input type.
Source§

impl Into<HTMLOrSVGElement> for SVGCircleElement

Source§

fn into(self) -> HTMLOrSVGElement

Converts this type into the (usually inferred) input type.
Source§

impl Into<HTMLOrSVGElement> for SVGClipPathElement

Source§

fn into(self) -> HTMLOrSVGElement

Converts this type into the (usually inferred) input type.
Source§

impl Into<HTMLOrSVGElement> for SVGComponentTransferFunctionElement

Source§

fn into(self) -> HTMLOrSVGElement

Converts this type into the (usually inferred) input type.
Source§

impl Into<HTMLOrSVGElement> for SVGDefsElement

Source§

fn into(self) -> HTMLOrSVGElement

Converts this type into the (usually inferred) input type.
Source§

impl Into<HTMLOrSVGElement> for SVGDescElement

Source§

fn into(self) -> HTMLOrSVGElement

Converts this type into the (usually inferred) input type.
Source§

impl Into<HTMLOrSVGElement> for SVGElement

Source§

fn into(self) -> HTMLOrSVGElement

Converts this type into the (usually inferred) input type.
Source§

impl Into<HTMLOrSVGElement> for SVGEllipseElement

Source§

fn into(self) -> HTMLOrSVGElement

Converts this type into the (usually inferred) input type.
Source§

impl Into<HTMLOrSVGElement> for SVGFEBlendElement

Source§

fn into(self) -> HTMLOrSVGElement

Converts this type into the (usually inferred) input type.
Source§

impl Into<HTMLOrSVGElement> for SVGFEColorMatrixElement

Source§

fn into(self) -> HTMLOrSVGElement

Converts this type into the (usually inferred) input type.
Source§

impl Into<HTMLOrSVGElement> for SVGFEComponentTransferElement

Source§

fn into(self) -> HTMLOrSVGElement

Converts this type into the (usually inferred) input type.
Source§

impl Into<HTMLOrSVGElement> for SVGFECompositeElement

Source§

fn into(self) -> HTMLOrSVGElement

Converts this type into the (usually inferred) input type.
Source§

impl Into<HTMLOrSVGElement> for SVGFEConvolveMatrixElement

Source§

fn into(self) -> HTMLOrSVGElement

Converts this type into the (usually inferred) input type.
Source§

impl Into<HTMLOrSVGElement> for SVGFEDiffuseLightingElement

Source§

fn into(self) -> HTMLOrSVGElement

Converts this type into the (usually inferred) input type.
Source§

impl Into<HTMLOrSVGElement> for SVGFEDisplacementMapElement

Source§

fn into(self) -> HTMLOrSVGElement

Converts this type into the (usually inferred) input type.
Source§

impl Into<HTMLOrSVGElement> for SVGFEDistantLightElement

Source§

fn into(self) -> HTMLOrSVGElement

Converts this type into the (usually inferred) input type.
Source§

impl Into<HTMLOrSVGElement> for SVGFEDropShadowElement

Source§

fn into(self) -> HTMLOrSVGElement

Converts this type into the (usually inferred) input type.
Source§

impl Into<HTMLOrSVGElement> for SVGFEFloodElement

Source§

fn into(self) -> HTMLOrSVGElement

Converts this type into the (usually inferred) input type.
Source§

impl Into<HTMLOrSVGElement> for SVGFEFuncAElement

Source§

fn into(self) -> HTMLOrSVGElement

Converts this type into the (usually inferred) input type.
Source§

impl Into<HTMLOrSVGElement> for SVGFEFuncBElement

Source§

fn into(self) -> HTMLOrSVGElement

Converts this type into the (usually inferred) input type.
Source§

impl Into<HTMLOrSVGElement> for SVGFEFuncGElement

Source§

fn into(self) -> HTMLOrSVGElement

Converts this type into the (usually inferred) input type.
Source§

impl Into<HTMLOrSVGElement> for SVGFEFuncRElement

Source§

fn into(self) -> HTMLOrSVGElement

Converts this type into the (usually inferred) input type.
Source§

impl Into<HTMLOrSVGElement> for SVGFEGaussianBlurElement

Source§

fn into(self) -> HTMLOrSVGElement

Converts this type into the (usually inferred) input type.
Source§

impl Into<HTMLOrSVGElement> for SVGFEImageElement

Source§

fn into(self) -> HTMLOrSVGElement

Converts this type into the (usually inferred) input type.
Source§

impl Into<HTMLOrSVGElement> for SVGFEMergeElement

Source§

fn into(self) -> HTMLOrSVGElement

Converts this type into the (usually inferred) input type.
Source§

impl Into<HTMLOrSVGElement> for SVGFEMergeNodeElement

Source§

fn into(self) -> HTMLOrSVGElement

Converts this type into the (usually inferred) input type.
Source§

impl Into<HTMLOrSVGElement> for SVGFEMorphologyElement

Source§

fn into(self) -> HTMLOrSVGElement

Converts this type into the (usually inferred) input type.
Source§

impl Into<HTMLOrSVGElement> for SVGFEOffsetElement

Source§

fn into(self) -> HTMLOrSVGElement

Converts this type into the (usually inferred) input type.
Source§

impl Into<HTMLOrSVGElement> for SVGFEPointLightElement

Source§

fn into(self) -> HTMLOrSVGElement

Converts this type into the (usually inferred) input type.
Source§

impl Into<HTMLOrSVGElement> for SVGFESpecularLightingElement

Source§

fn into(self) -> HTMLOrSVGElement

Converts this type into the (usually inferred) input type.
Source§

impl Into<HTMLOrSVGElement> for SVGFESpotLightElement

Source§

fn into(self) -> HTMLOrSVGElement

Converts this type into the (usually inferred) input type.
Source§

impl Into<HTMLOrSVGElement> for SVGFETileElement

Source§

fn into(self) -> HTMLOrSVGElement

Converts this type into the (usually inferred) input type.
Source§

impl Into<HTMLOrSVGElement> for SVGFETurbulenceElement

Source§

fn into(self) -> HTMLOrSVGElement

Converts this type into the (usually inferred) input type.
Source§

impl Into<HTMLOrSVGElement> for SVGFilterElement

Source§

fn into(self) -> HTMLOrSVGElement

Converts this type into the (usually inferred) input type.
Source§

impl Into<HTMLOrSVGElement> for SVGForeignObjectElement

Source§

fn into(self) -> HTMLOrSVGElement

Converts this type into the (usually inferred) input type.
Source§

impl Into<HTMLOrSVGElement> for SVGGElement

Source§

fn into(self) -> HTMLOrSVGElement

Converts this type into the (usually inferred) input type.
Source§

impl Into<HTMLOrSVGElement> for SVGGeometryElement

Source§

fn into(self) -> HTMLOrSVGElement

Converts this type into the (usually inferred) input type.
Source§

impl Into<HTMLOrSVGElement> for SVGGradientElement

Source§

fn into(self) -> HTMLOrSVGElement

Converts this type into the (usually inferred) input type.
Source§

impl Into<HTMLOrSVGElement> for SVGGraphicsElement

Source§

fn into(self) -> HTMLOrSVGElement

Converts this type into the (usually inferred) input type.
Source§

impl Into<HTMLOrSVGElement> for SVGImageElement

Source§

fn into(self) -> HTMLOrSVGElement

Converts this type into the (usually inferred) input type.
Source§

impl Into<HTMLOrSVGElement> for SVGLineElement

Source§

fn into(self) -> HTMLOrSVGElement

Converts this type into the (usually inferred) input type.
Source§

impl Into<HTMLOrSVGElement> for SVGLinearGradientElement

Source§

fn into(self) -> HTMLOrSVGElement

Converts this type into the (usually inferred) input type.
Source§

impl Into<HTMLOrSVGElement> for SVGMPathElement

Source§

fn into(self) -> HTMLOrSVGElement

Converts this type into the (usually inferred) input type.
Source§

impl Into<HTMLOrSVGElement> for SVGMarkerElement

Source§

fn into(self) -> HTMLOrSVGElement

Converts this type into the (usually inferred) input type.
Source§

impl Into<HTMLOrSVGElement> for SVGMaskElement

Source§

fn into(self) -> HTMLOrSVGElement

Converts this type into the (usually inferred) input type.
Source§

impl Into<HTMLOrSVGElement> for SVGMetadataElement

Source§

fn into(self) -> HTMLOrSVGElement

Converts this type into the (usually inferred) input type.
Source§

impl Into<HTMLOrSVGElement> for SVGPathElement

Source§

fn into(self) -> HTMLOrSVGElement

Converts this type into the (usually inferred) input type.
Source§

impl Into<HTMLOrSVGElement> for SVGPatternElement

Source§

fn into(self) -> HTMLOrSVGElement

Converts this type into the (usually inferred) input type.
Source§

impl Into<HTMLOrSVGElement> for SVGPolygonElement

Source§

fn into(self) -> HTMLOrSVGElement

Converts this type into the (usually inferred) input type.
Source§

impl Into<HTMLOrSVGElement> for SVGPolylineElement

Source§

fn into(self) -> HTMLOrSVGElement

Converts this type into the (usually inferred) input type.
Source§

impl Into<HTMLOrSVGElement> for SVGRadialGradientElement

Source§

fn into(self) -> HTMLOrSVGElement

Converts this type into the (usually inferred) input type.
Source§

impl Into<HTMLOrSVGElement> for SVGRectElement

Source§

fn into(self) -> HTMLOrSVGElement

Converts this type into the (usually inferred) input type.
Source§

impl Into<HTMLOrSVGElement> for SVGSVGElement

Source§

fn into(self) -> HTMLOrSVGElement

Converts this type into the (usually inferred) input type.
Source§

impl Into<HTMLOrSVGElement> for SVGScriptElement

Source§

fn into(self) -> HTMLOrSVGElement

Converts this type into the (usually inferred) input type.
Source§

impl Into<HTMLOrSVGElement> for SVGSetElement

Source§

fn into(self) -> HTMLOrSVGElement

Converts this type into the (usually inferred) input type.
Source§

impl Into<HTMLOrSVGElement> for SVGStopElement

Source§

fn into(self) -> HTMLOrSVGElement

Converts this type into the (usually inferred) input type.
Source§

impl Into<HTMLOrSVGElement> for SVGStyleElement

Source§

fn into(self) -> HTMLOrSVGElement

Converts this type into the (usually inferred) input type.
Source§

impl Into<HTMLOrSVGElement> for SVGSwitchElement

Source§

fn into(self) -> HTMLOrSVGElement

Converts this type into the (usually inferred) input type.
Source§

impl Into<HTMLOrSVGElement> for SVGSymbolElement

Source§

fn into(self) -> HTMLOrSVGElement

Converts this type into the (usually inferred) input type.
Source§

impl Into<HTMLOrSVGElement> for SVGTSpanElement

Source§

fn into(self) -> HTMLOrSVGElement

Converts this type into the (usually inferred) input type.
Source§

impl Into<HTMLOrSVGElement> for SVGTextContentElement

Source§

fn into(self) -> HTMLOrSVGElement

Converts this type into the (usually inferred) input type.
Source§

impl Into<HTMLOrSVGElement> for SVGTextElement

Source§

fn into(self) -> HTMLOrSVGElement

Converts this type into the (usually inferred) input type.
Source§

impl Into<HTMLOrSVGElement> for SVGTextPathElement

Source§

fn into(self) -> HTMLOrSVGElement

Converts this type into the (usually inferred) input type.
Source§

impl Into<HTMLOrSVGElement> for SVGTextPositioningElement

Source§

fn into(self) -> HTMLOrSVGElement

Converts this type into the (usually inferred) input type.
Source§

impl Into<HTMLOrSVGElement> for SVGTitleElement

Source§

fn into(self) -> HTMLOrSVGElement

Converts this type into the (usually inferred) input type.
Source§

impl Into<HTMLOrSVGElement> for SVGUseElement

Source§

fn into(self) -> HTMLOrSVGElement

Converts this type into the (usually inferred) input type.
Source§

impl Into<HTMLOrSVGElement> for SVGViewElement

Source§

fn into(self) -> HTMLOrSVGElement

Converts this type into the (usually inferred) input type.
Source§

impl Into<JsObject> for HTMLOrSVGElement

Source§

fn into(self) -> JsObject

Converts this type into the (usually inferred) input type.
Source§

impl Into<JsValue> for HTMLOrSVGElement

Source§

fn into(self) -> JsValue

Converts this type into the (usually inferred) input type.
Source§

impl JsCast for HTMLOrSVGElement

Source§

fn unchecked_from_js(val: JsValue) -> Self

Source§

fn unchecked_from_js_ref(val: &JsValue) -> &Self

Source§

fn unchecked_into<T>(self) -> T
where T: JsCast,

Source§

fn unchecked_ref<T>(&self) -> &T
where T: JsCast,

Source§

impl RefCast for HTMLOrSVGElement

Source§

type From = JsValue

Source§

fn ref_cast(_from: &Self::From) -> &Self

Source§

fn ref_cast_mut(_from: &mut Self::From) -> &mut Self

Source§

impl UseInJsCode for HTMLOrSVGElement

Source§

fn serialize_to(&self, buf: &mut Formatter<'_>) -> Result

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<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> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

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<P, T> Receiver for P
where P: Deref<Target = T> + ?Sized, T: ?Sized,

Source§

type Target = T

🔬This is a nightly-only experimental API. (arbitrary_self_types)
The target type on which the method may be called.
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> ToJs<T> for T
where T: UseInJsCode + ?Sized,