Struct InnerHTML

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

Implementations§

Source§

impl InnerHTML

Source

pub fn get_inner_html(&self) -> JsString

Source

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

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<InnerHTML> for Element

Source§

fn as_ref(&self) -> &InnerHTML

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

impl AsRef<InnerHTML> for HTMLAnchorElement

Source§

fn as_ref(&self) -> &InnerHTML

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

impl AsRef<InnerHTML> for HTMLAreaElement

Source§

fn as_ref(&self) -> &InnerHTML

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

impl AsRef<InnerHTML> for HTMLAudioElement

Source§

fn as_ref(&self) -> &InnerHTML

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

impl AsRef<InnerHTML> for HTMLBRElement

Source§

fn as_ref(&self) -> &InnerHTML

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

impl AsRef<InnerHTML> for HTMLBaseElement

Source§

fn as_ref(&self) -> &InnerHTML

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

impl AsRef<InnerHTML> for HTMLBodyElement

Source§

fn as_ref(&self) -> &InnerHTML

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

impl AsRef<InnerHTML> for HTMLButtonElement

Source§

fn as_ref(&self) -> &InnerHTML

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

impl AsRef<InnerHTML> for HTMLCanvasElement

Source§

fn as_ref(&self) -> &InnerHTML

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

impl AsRef<InnerHTML> for HTMLDListElement

Source§

fn as_ref(&self) -> &InnerHTML

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

impl AsRef<InnerHTML> for HTMLDataElement

Source§

fn as_ref(&self) -> &InnerHTML

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

impl AsRef<InnerHTML> for HTMLDataListElement

Source§

fn as_ref(&self) -> &InnerHTML

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

impl AsRef<InnerHTML> for HTMLDetailsElement

Source§

fn as_ref(&self) -> &InnerHTML

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

impl AsRef<InnerHTML> for HTMLDialogElement

Source§

fn as_ref(&self) -> &InnerHTML

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

impl AsRef<InnerHTML> for HTMLDirectoryElement

Source§

fn as_ref(&self) -> &InnerHTML

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

impl AsRef<InnerHTML> for HTMLDivElement

Source§

fn as_ref(&self) -> &InnerHTML

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

impl AsRef<InnerHTML> for HTMLElement

Source§

fn as_ref(&self) -> &InnerHTML

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

impl AsRef<InnerHTML> for HTMLEmbedElement

Source§

fn as_ref(&self) -> &InnerHTML

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

impl AsRef<InnerHTML> for HTMLFieldSetElement

Source§

fn as_ref(&self) -> &InnerHTML

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

impl AsRef<InnerHTML> for HTMLFontElement

Source§

fn as_ref(&self) -> &InnerHTML

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

impl AsRef<InnerHTML> for HTMLFormElement

Source§

fn as_ref(&self) -> &InnerHTML

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

impl AsRef<InnerHTML> for HTMLFrameElement

Source§

fn as_ref(&self) -> &InnerHTML

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

impl AsRef<InnerHTML> for HTMLFrameSetElement

Source§

fn as_ref(&self) -> &InnerHTML

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

impl AsRef<InnerHTML> for HTMLHRElement

Source§

fn as_ref(&self) -> &InnerHTML

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

impl AsRef<InnerHTML> for HTMLHeadElement

Source§

fn as_ref(&self) -> &InnerHTML

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

impl AsRef<InnerHTML> for HTMLHeadingElement

Source§

fn as_ref(&self) -> &InnerHTML

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

impl AsRef<InnerHTML> for HTMLHtmlElement

Source§

fn as_ref(&self) -> &InnerHTML

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

impl AsRef<InnerHTML> for HTMLIFrameElement

Source§

fn as_ref(&self) -> &InnerHTML

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

impl AsRef<InnerHTML> for HTMLImageElement

Source§

fn as_ref(&self) -> &InnerHTML

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

impl AsRef<InnerHTML> for HTMLInputElement

Source§

fn as_ref(&self) -> &InnerHTML

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

impl AsRef<InnerHTML> for HTMLLIElement

Source§

fn as_ref(&self) -> &InnerHTML

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

impl AsRef<InnerHTML> for HTMLLabelElement

Source§

fn as_ref(&self) -> &InnerHTML

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

impl AsRef<InnerHTML> for HTMLLegendElement

Source§

fn as_ref(&self) -> &InnerHTML

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

impl AsRef<InnerHTML> for HTMLLinkElement

Source§

fn as_ref(&self) -> &InnerHTML

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

impl AsRef<InnerHTML> for HTMLMapElement

Source§

fn as_ref(&self) -> &InnerHTML

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

impl AsRef<InnerHTML> for HTMLMarqueeElement

Source§

fn as_ref(&self) -> &InnerHTML

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

impl AsRef<InnerHTML> for HTMLMediaElement

Source§

fn as_ref(&self) -> &InnerHTML

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

impl AsRef<InnerHTML> for HTMLMenuElement

Source§

fn as_ref(&self) -> &InnerHTML

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

impl AsRef<InnerHTML> for HTMLMetaElement

Source§

fn as_ref(&self) -> &InnerHTML

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

impl AsRef<InnerHTML> for HTMLMeterElement

Source§

fn as_ref(&self) -> &InnerHTML

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

impl AsRef<InnerHTML> for HTMLModElement

Source§

fn as_ref(&self) -> &InnerHTML

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

impl AsRef<InnerHTML> for HTMLOListElement

Source§

fn as_ref(&self) -> &InnerHTML

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

impl AsRef<InnerHTML> for HTMLObjectElement

Source§

fn as_ref(&self) -> &InnerHTML

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

impl AsRef<InnerHTML> for HTMLOptGroupElement

Source§

fn as_ref(&self) -> &InnerHTML

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

impl AsRef<InnerHTML> for HTMLOptionElement

Source§

fn as_ref(&self) -> &InnerHTML

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

impl AsRef<InnerHTML> for HTMLOutputElement

Source§

fn as_ref(&self) -> &InnerHTML

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

impl AsRef<InnerHTML> for HTMLParagraphElement

Source§

fn as_ref(&self) -> &InnerHTML

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

impl AsRef<InnerHTML> for HTMLParamElement

Source§

fn as_ref(&self) -> &InnerHTML

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

impl AsRef<InnerHTML> for HTMLPictureElement

Source§

fn as_ref(&self) -> &InnerHTML

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

impl AsRef<InnerHTML> for HTMLPreElement

Source§

fn as_ref(&self) -> &InnerHTML

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

impl AsRef<InnerHTML> for HTMLProgressElement

Source§

fn as_ref(&self) -> &InnerHTML

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

impl AsRef<InnerHTML> for HTMLQuoteElement

Source§

fn as_ref(&self) -> &InnerHTML

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

impl AsRef<InnerHTML> for HTMLScriptElement

Source§

fn as_ref(&self) -> &InnerHTML

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

impl AsRef<InnerHTML> for HTMLSelectElement

Source§

fn as_ref(&self) -> &InnerHTML

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

impl AsRef<InnerHTML> for HTMLSlotElement

Source§

fn as_ref(&self) -> &InnerHTML

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

impl AsRef<InnerHTML> for HTMLSourceElement

Source§

fn as_ref(&self) -> &InnerHTML

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

impl AsRef<InnerHTML> for HTMLSpanElement

Source§

fn as_ref(&self) -> &InnerHTML

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

impl AsRef<InnerHTML> for HTMLStyleElement

Source§

fn as_ref(&self) -> &InnerHTML

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

impl AsRef<InnerHTML> for HTMLTableCaptionElement

Source§

fn as_ref(&self) -> &InnerHTML

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

impl AsRef<InnerHTML> for HTMLTableCellElement

Source§

fn as_ref(&self) -> &InnerHTML

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

impl AsRef<InnerHTML> for HTMLTableColElement

Source§

fn as_ref(&self) -> &InnerHTML

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

impl AsRef<InnerHTML> for HTMLTableDataCellElement

Source§

fn as_ref(&self) -> &InnerHTML

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

impl AsRef<InnerHTML> for HTMLTableElement

Source§

fn as_ref(&self) -> &InnerHTML

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

impl AsRef<InnerHTML> for HTMLTableHeaderCellElement

Source§

fn as_ref(&self) -> &InnerHTML

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

impl AsRef<InnerHTML> for HTMLTableRowElement

Source§

fn as_ref(&self) -> &InnerHTML

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

impl AsRef<InnerHTML> for HTMLTableSectionElement

Source§

fn as_ref(&self) -> &InnerHTML

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

impl AsRef<InnerHTML> for HTMLTemplateElement

Source§

fn as_ref(&self) -> &InnerHTML

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

impl AsRef<InnerHTML> for HTMLTextAreaElement

Source§

fn as_ref(&self) -> &InnerHTML

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

impl AsRef<InnerHTML> for HTMLTimeElement

Source§

fn as_ref(&self) -> &InnerHTML

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

impl AsRef<InnerHTML> for HTMLTitleElement

Source§

fn as_ref(&self) -> &InnerHTML

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

impl AsRef<InnerHTML> for HTMLTrackElement

Source§

fn as_ref(&self) -> &InnerHTML

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

impl AsRef<InnerHTML> for HTMLUListElement

Source§

fn as_ref(&self) -> &InnerHTML

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

impl AsRef<InnerHTML> for HTMLUnknownElement

Source§

fn as_ref(&self) -> &InnerHTML

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

impl AsRef<InnerHTML> for HTMLVideoElement

Source§

fn as_ref(&self) -> &InnerHTML

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

impl AsRef<InnerHTML> for InnerHTML

Source§

fn as_ref(&self) -> &Self

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

impl AsRef<InnerHTML> for MathMLElement

Source§

fn as_ref(&self) -> &InnerHTML

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

impl AsRef<InnerHTML> for SVGAElement

Source§

fn as_ref(&self) -> &InnerHTML

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

impl AsRef<InnerHTML> for SVGAnimateElement

Source§

fn as_ref(&self) -> &InnerHTML

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

impl AsRef<InnerHTML> for SVGAnimateMotionElement

Source§

fn as_ref(&self) -> &InnerHTML

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

impl AsRef<InnerHTML> for SVGAnimateTransformElement

Source§

fn as_ref(&self) -> &InnerHTML

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

impl AsRef<InnerHTML> for SVGAnimationElement

Source§

fn as_ref(&self) -> &InnerHTML

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

impl AsRef<InnerHTML> for SVGCircleElement

Source§

fn as_ref(&self) -> &InnerHTML

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

impl AsRef<InnerHTML> for SVGClipPathElement

Source§

fn as_ref(&self) -> &InnerHTML

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

impl AsRef<InnerHTML> for SVGComponentTransferFunctionElement

Source§

fn as_ref(&self) -> &InnerHTML

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

impl AsRef<InnerHTML> for SVGDefsElement

Source§

fn as_ref(&self) -> &InnerHTML

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

impl AsRef<InnerHTML> for SVGDescElement

Source§

fn as_ref(&self) -> &InnerHTML

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

impl AsRef<InnerHTML> for SVGElement

Source§

fn as_ref(&self) -> &InnerHTML

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

impl AsRef<InnerHTML> for SVGEllipseElement

Source§

fn as_ref(&self) -> &InnerHTML

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

impl AsRef<InnerHTML> for SVGFEBlendElement

Source§

fn as_ref(&self) -> &InnerHTML

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

impl AsRef<InnerHTML> for SVGFEColorMatrixElement

Source§

fn as_ref(&self) -> &InnerHTML

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

impl AsRef<InnerHTML> for SVGFEComponentTransferElement

Source§

fn as_ref(&self) -> &InnerHTML

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

impl AsRef<InnerHTML> for SVGFECompositeElement

Source§

fn as_ref(&self) -> &InnerHTML

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

impl AsRef<InnerHTML> for SVGFEConvolveMatrixElement

Source§

fn as_ref(&self) -> &InnerHTML

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

impl AsRef<InnerHTML> for SVGFEDiffuseLightingElement

Source§

fn as_ref(&self) -> &InnerHTML

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

impl AsRef<InnerHTML> for SVGFEDisplacementMapElement

Source§

fn as_ref(&self) -> &InnerHTML

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

impl AsRef<InnerHTML> for SVGFEDistantLightElement

Source§

fn as_ref(&self) -> &InnerHTML

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

impl AsRef<InnerHTML> for SVGFEDropShadowElement

Source§

fn as_ref(&self) -> &InnerHTML

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

impl AsRef<InnerHTML> for SVGFEFloodElement

Source§

fn as_ref(&self) -> &InnerHTML

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

impl AsRef<InnerHTML> for SVGFEFuncAElement

Source§

fn as_ref(&self) -> &InnerHTML

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

impl AsRef<InnerHTML> for SVGFEFuncBElement

Source§

fn as_ref(&self) -> &InnerHTML

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

impl AsRef<InnerHTML> for SVGFEFuncGElement

Source§

fn as_ref(&self) -> &InnerHTML

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

impl AsRef<InnerHTML> for SVGFEFuncRElement

Source§

fn as_ref(&self) -> &InnerHTML

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

impl AsRef<InnerHTML> for SVGFEGaussianBlurElement

Source§

fn as_ref(&self) -> &InnerHTML

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

impl AsRef<InnerHTML> for SVGFEImageElement

Source§

fn as_ref(&self) -> &InnerHTML

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

impl AsRef<InnerHTML> for SVGFEMergeElement

Source§

fn as_ref(&self) -> &InnerHTML

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

impl AsRef<InnerHTML> for SVGFEMergeNodeElement

Source§

fn as_ref(&self) -> &InnerHTML

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

impl AsRef<InnerHTML> for SVGFEMorphologyElement

Source§

fn as_ref(&self) -> &InnerHTML

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

impl AsRef<InnerHTML> for SVGFEOffsetElement

Source§

fn as_ref(&self) -> &InnerHTML

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

impl AsRef<InnerHTML> for SVGFEPointLightElement

Source§

fn as_ref(&self) -> &InnerHTML

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

impl AsRef<InnerHTML> for SVGFESpecularLightingElement

Source§

fn as_ref(&self) -> &InnerHTML

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

impl AsRef<InnerHTML> for SVGFESpotLightElement

Source§

fn as_ref(&self) -> &InnerHTML

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

impl AsRef<InnerHTML> for SVGFETileElement

Source§

fn as_ref(&self) -> &InnerHTML

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

impl AsRef<InnerHTML> for SVGFETurbulenceElement

Source§

fn as_ref(&self) -> &InnerHTML

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

impl AsRef<InnerHTML> for SVGFilterElement

Source§

fn as_ref(&self) -> &InnerHTML

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

impl AsRef<InnerHTML> for SVGForeignObjectElement

Source§

fn as_ref(&self) -> &InnerHTML

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

impl AsRef<InnerHTML> for SVGGElement

Source§

fn as_ref(&self) -> &InnerHTML

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

impl AsRef<InnerHTML> for SVGGeometryElement

Source§

fn as_ref(&self) -> &InnerHTML

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

impl AsRef<InnerHTML> for SVGGradientElement

Source§

fn as_ref(&self) -> &InnerHTML

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

impl AsRef<InnerHTML> for SVGGraphicsElement

Source§

fn as_ref(&self) -> &InnerHTML

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

impl AsRef<InnerHTML> for SVGImageElement

Source§

fn as_ref(&self) -> &InnerHTML

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

impl AsRef<InnerHTML> for SVGLineElement

Source§

fn as_ref(&self) -> &InnerHTML

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

impl AsRef<InnerHTML> for SVGLinearGradientElement

Source§

fn as_ref(&self) -> &InnerHTML

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

impl AsRef<InnerHTML> for SVGMPathElement

Source§

fn as_ref(&self) -> &InnerHTML

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

impl AsRef<InnerHTML> for SVGMarkerElement

Source§

fn as_ref(&self) -> &InnerHTML

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

impl AsRef<InnerHTML> for SVGMaskElement

Source§

fn as_ref(&self) -> &InnerHTML

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

impl AsRef<InnerHTML> for SVGMetadataElement

Source§

fn as_ref(&self) -> &InnerHTML

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

impl AsRef<InnerHTML> for SVGPathElement

Source§

fn as_ref(&self) -> &InnerHTML

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

impl AsRef<InnerHTML> for SVGPatternElement

Source§

fn as_ref(&self) -> &InnerHTML

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

impl AsRef<InnerHTML> for SVGPolygonElement

Source§

fn as_ref(&self) -> &InnerHTML

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

impl AsRef<InnerHTML> for SVGPolylineElement

Source§

fn as_ref(&self) -> &InnerHTML

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

impl AsRef<InnerHTML> for SVGRadialGradientElement

Source§

fn as_ref(&self) -> &InnerHTML

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

impl AsRef<InnerHTML> for SVGRectElement

Source§

fn as_ref(&self) -> &InnerHTML

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

impl AsRef<InnerHTML> for SVGSVGElement

Source§

fn as_ref(&self) -> &InnerHTML

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

impl AsRef<InnerHTML> for SVGScriptElement

Source§

fn as_ref(&self) -> &InnerHTML

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

impl AsRef<InnerHTML> for SVGSetElement

Source§

fn as_ref(&self) -> &InnerHTML

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

impl AsRef<InnerHTML> for SVGStopElement

Source§

fn as_ref(&self) -> &InnerHTML

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

impl AsRef<InnerHTML> for SVGStyleElement

Source§

fn as_ref(&self) -> &InnerHTML

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

impl AsRef<InnerHTML> for SVGSwitchElement

Source§

fn as_ref(&self) -> &InnerHTML

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

impl AsRef<InnerHTML> for SVGSymbolElement

Source§

fn as_ref(&self) -> &InnerHTML

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

impl AsRef<InnerHTML> for SVGTSpanElement

Source§

fn as_ref(&self) -> &InnerHTML

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

impl AsRef<InnerHTML> for SVGTextContentElement

Source§

fn as_ref(&self) -> &InnerHTML

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

impl AsRef<InnerHTML> for SVGTextElement

Source§

fn as_ref(&self) -> &InnerHTML

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

impl AsRef<InnerHTML> for SVGTextPathElement

Source§

fn as_ref(&self) -> &InnerHTML

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

impl AsRef<InnerHTML> for SVGTextPositioningElement

Source§

fn as_ref(&self) -> &InnerHTML

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

impl AsRef<InnerHTML> for SVGTitleElement

Source§

fn as_ref(&self) -> &InnerHTML

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

impl AsRef<InnerHTML> for SVGUseElement

Source§

fn as_ref(&self) -> &InnerHTML

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

impl AsRef<InnerHTML> for SVGViewElement

Source§

fn as_ref(&self) -> &InnerHTML

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

impl AsRef<InnerHTML> for ShadowRoot

Source§

fn as_ref(&self) -> &InnerHTML

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

impl AsRef<JsObject> for InnerHTML

Source§

fn as_ref(&self) -> &JsObject

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

impl AsRef<JsValue> for InnerHTML

Source§

fn as_ref(&self) -> &JsValue

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

impl Clone for InnerHTML

Source§

fn clone(&self) -> InnerHTML

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 InnerHTML

Source§

type Target = JsObject

The resulting type after dereferencing.
Source§

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

Dereferences the value.
Source§

impl Into<InnerHTML> for Element

Source§

fn into(self) -> InnerHTML

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

impl Into<InnerHTML> for HTMLAnchorElement

Source§

fn into(self) -> InnerHTML

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

impl Into<InnerHTML> for HTMLAreaElement

Source§

fn into(self) -> InnerHTML

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

impl Into<InnerHTML> for HTMLAudioElement

Source§

fn into(self) -> InnerHTML

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

impl Into<InnerHTML> for HTMLBRElement

Source§

fn into(self) -> InnerHTML

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

impl Into<InnerHTML> for HTMLBaseElement

Source§

fn into(self) -> InnerHTML

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

impl Into<InnerHTML> for HTMLBodyElement

Source§

fn into(self) -> InnerHTML

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

impl Into<InnerHTML> for HTMLButtonElement

Source§

fn into(self) -> InnerHTML

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

impl Into<InnerHTML> for HTMLCanvasElement

Source§

fn into(self) -> InnerHTML

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

impl Into<InnerHTML> for HTMLDListElement

Source§

fn into(self) -> InnerHTML

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

impl Into<InnerHTML> for HTMLDataElement

Source§

fn into(self) -> InnerHTML

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

impl Into<InnerHTML> for HTMLDataListElement

Source§

fn into(self) -> InnerHTML

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

impl Into<InnerHTML> for HTMLDetailsElement

Source§

fn into(self) -> InnerHTML

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

impl Into<InnerHTML> for HTMLDialogElement

Source§

fn into(self) -> InnerHTML

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

impl Into<InnerHTML> for HTMLDirectoryElement

Source§

fn into(self) -> InnerHTML

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

impl Into<InnerHTML> for HTMLDivElement

Source§

fn into(self) -> InnerHTML

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

impl Into<InnerHTML> for HTMLElement

Source§

fn into(self) -> InnerHTML

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

impl Into<InnerHTML> for HTMLEmbedElement

Source§

fn into(self) -> InnerHTML

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

impl Into<InnerHTML> for HTMLFieldSetElement

Source§

fn into(self) -> InnerHTML

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

impl Into<InnerHTML> for HTMLFontElement

Source§

fn into(self) -> InnerHTML

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

impl Into<InnerHTML> for HTMLFormElement

Source§

fn into(self) -> InnerHTML

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

impl Into<InnerHTML> for HTMLFrameElement

Source§

fn into(self) -> InnerHTML

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

impl Into<InnerHTML> for HTMLFrameSetElement

Source§

fn into(self) -> InnerHTML

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

impl Into<InnerHTML> for HTMLHRElement

Source§

fn into(self) -> InnerHTML

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

impl Into<InnerHTML> for HTMLHeadElement

Source§

fn into(self) -> InnerHTML

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

impl Into<InnerHTML> for HTMLHeadingElement

Source§

fn into(self) -> InnerHTML

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

impl Into<InnerHTML> for HTMLHtmlElement

Source§

fn into(self) -> InnerHTML

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

impl Into<InnerHTML> for HTMLIFrameElement

Source§

fn into(self) -> InnerHTML

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

impl Into<InnerHTML> for HTMLImageElement

Source§

fn into(self) -> InnerHTML

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

impl Into<InnerHTML> for HTMLInputElement

Source§

fn into(self) -> InnerHTML

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

impl Into<InnerHTML> for HTMLLIElement

Source§

fn into(self) -> InnerHTML

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

impl Into<InnerHTML> for HTMLLabelElement

Source§

fn into(self) -> InnerHTML

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

impl Into<InnerHTML> for HTMLLegendElement

Source§

fn into(self) -> InnerHTML

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

impl Into<InnerHTML> for HTMLLinkElement

Source§

fn into(self) -> InnerHTML

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

impl Into<InnerHTML> for HTMLMapElement

Source§

fn into(self) -> InnerHTML

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

impl Into<InnerHTML> for HTMLMarqueeElement

Source§

fn into(self) -> InnerHTML

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

impl Into<InnerHTML> for HTMLMediaElement

Source§

fn into(self) -> InnerHTML

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

impl Into<InnerHTML> for HTMLMenuElement

Source§

fn into(self) -> InnerHTML

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

impl Into<InnerHTML> for HTMLMetaElement

Source§

fn into(self) -> InnerHTML

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

impl Into<InnerHTML> for HTMLMeterElement

Source§

fn into(self) -> InnerHTML

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

impl Into<InnerHTML> for HTMLModElement

Source§

fn into(self) -> InnerHTML

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

impl Into<InnerHTML> for HTMLOListElement

Source§

fn into(self) -> InnerHTML

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

impl Into<InnerHTML> for HTMLObjectElement

Source§

fn into(self) -> InnerHTML

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

impl Into<InnerHTML> for HTMLOptGroupElement

Source§

fn into(self) -> InnerHTML

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

impl Into<InnerHTML> for HTMLOptionElement

Source§

fn into(self) -> InnerHTML

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

impl Into<InnerHTML> for HTMLOutputElement

Source§

fn into(self) -> InnerHTML

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

impl Into<InnerHTML> for HTMLParagraphElement

Source§

fn into(self) -> InnerHTML

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

impl Into<InnerHTML> for HTMLParamElement

Source§

fn into(self) -> InnerHTML

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

impl Into<InnerHTML> for HTMLPictureElement

Source§

fn into(self) -> InnerHTML

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

impl Into<InnerHTML> for HTMLPreElement

Source§

fn into(self) -> InnerHTML

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

impl Into<InnerHTML> for HTMLProgressElement

Source§

fn into(self) -> InnerHTML

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

impl Into<InnerHTML> for HTMLQuoteElement

Source§

fn into(self) -> InnerHTML

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

impl Into<InnerHTML> for HTMLScriptElement

Source§

fn into(self) -> InnerHTML

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

impl Into<InnerHTML> for HTMLSelectElement

Source§

fn into(self) -> InnerHTML

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

impl Into<InnerHTML> for HTMLSlotElement

Source§

fn into(self) -> InnerHTML

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

impl Into<InnerHTML> for HTMLSourceElement

Source§

fn into(self) -> InnerHTML

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

impl Into<InnerHTML> for HTMLSpanElement

Source§

fn into(self) -> InnerHTML

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

impl Into<InnerHTML> for HTMLStyleElement

Source§

fn into(self) -> InnerHTML

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

impl Into<InnerHTML> for HTMLTableCaptionElement

Source§

fn into(self) -> InnerHTML

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

impl Into<InnerHTML> for HTMLTableCellElement

Source§

fn into(self) -> InnerHTML

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

impl Into<InnerHTML> for HTMLTableColElement

Source§

fn into(self) -> InnerHTML

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

impl Into<InnerHTML> for HTMLTableDataCellElement

Source§

fn into(self) -> InnerHTML

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

impl Into<InnerHTML> for HTMLTableElement

Source§

fn into(self) -> InnerHTML

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

impl Into<InnerHTML> for HTMLTableHeaderCellElement

Source§

fn into(self) -> InnerHTML

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

impl Into<InnerHTML> for HTMLTableRowElement

Source§

fn into(self) -> InnerHTML

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

impl Into<InnerHTML> for HTMLTableSectionElement

Source§

fn into(self) -> InnerHTML

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

impl Into<InnerHTML> for HTMLTemplateElement

Source§

fn into(self) -> InnerHTML

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

impl Into<InnerHTML> for HTMLTextAreaElement

Source§

fn into(self) -> InnerHTML

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

impl Into<InnerHTML> for HTMLTimeElement

Source§

fn into(self) -> InnerHTML

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

impl Into<InnerHTML> for HTMLTitleElement

Source§

fn into(self) -> InnerHTML

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

impl Into<InnerHTML> for HTMLTrackElement

Source§

fn into(self) -> InnerHTML

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

impl Into<InnerHTML> for HTMLUListElement

Source§

fn into(self) -> InnerHTML

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

impl Into<InnerHTML> for HTMLUnknownElement

Source§

fn into(self) -> InnerHTML

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

impl Into<InnerHTML> for HTMLVideoElement

Source§

fn into(self) -> InnerHTML

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

impl Into<InnerHTML> for MathMLElement

Source§

fn into(self) -> InnerHTML

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

impl Into<InnerHTML> for SVGAElement

Source§

fn into(self) -> InnerHTML

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

impl Into<InnerHTML> for SVGAnimateElement

Source§

fn into(self) -> InnerHTML

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

impl Into<InnerHTML> for SVGAnimateMotionElement

Source§

fn into(self) -> InnerHTML

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

impl Into<InnerHTML> for SVGAnimateTransformElement

Source§

fn into(self) -> InnerHTML

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

impl Into<InnerHTML> for SVGAnimationElement

Source§

fn into(self) -> InnerHTML

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

impl Into<InnerHTML> for SVGCircleElement

Source§

fn into(self) -> InnerHTML

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

impl Into<InnerHTML> for SVGClipPathElement

Source§

fn into(self) -> InnerHTML

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

impl Into<InnerHTML> for SVGComponentTransferFunctionElement

Source§

fn into(self) -> InnerHTML

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

impl Into<InnerHTML> for SVGDefsElement

Source§

fn into(self) -> InnerHTML

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

impl Into<InnerHTML> for SVGDescElement

Source§

fn into(self) -> InnerHTML

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

impl Into<InnerHTML> for SVGElement

Source§

fn into(self) -> InnerHTML

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

impl Into<InnerHTML> for SVGEllipseElement

Source§

fn into(self) -> InnerHTML

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

impl Into<InnerHTML> for SVGFEBlendElement

Source§

fn into(self) -> InnerHTML

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

impl Into<InnerHTML> for SVGFEColorMatrixElement

Source§

fn into(self) -> InnerHTML

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

impl Into<InnerHTML> for SVGFEComponentTransferElement

Source§

fn into(self) -> InnerHTML

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

impl Into<InnerHTML> for SVGFECompositeElement

Source§

fn into(self) -> InnerHTML

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

impl Into<InnerHTML> for SVGFEConvolveMatrixElement

Source§

fn into(self) -> InnerHTML

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

impl Into<InnerHTML> for SVGFEDiffuseLightingElement

Source§

fn into(self) -> InnerHTML

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

impl Into<InnerHTML> for SVGFEDisplacementMapElement

Source§

fn into(self) -> InnerHTML

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

impl Into<InnerHTML> for SVGFEDistantLightElement

Source§

fn into(self) -> InnerHTML

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

impl Into<InnerHTML> for SVGFEDropShadowElement

Source§

fn into(self) -> InnerHTML

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

impl Into<InnerHTML> for SVGFEFloodElement

Source§

fn into(self) -> InnerHTML

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

impl Into<InnerHTML> for SVGFEFuncAElement

Source§

fn into(self) -> InnerHTML

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

impl Into<InnerHTML> for SVGFEFuncBElement

Source§

fn into(self) -> InnerHTML

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

impl Into<InnerHTML> for SVGFEFuncGElement

Source§

fn into(self) -> InnerHTML

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

impl Into<InnerHTML> for SVGFEFuncRElement

Source§

fn into(self) -> InnerHTML

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

impl Into<InnerHTML> for SVGFEGaussianBlurElement

Source§

fn into(self) -> InnerHTML

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

impl Into<InnerHTML> for SVGFEImageElement

Source§

fn into(self) -> InnerHTML

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

impl Into<InnerHTML> for SVGFEMergeElement

Source§

fn into(self) -> InnerHTML

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

impl Into<InnerHTML> for SVGFEMergeNodeElement

Source§

fn into(self) -> InnerHTML

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

impl Into<InnerHTML> for SVGFEMorphologyElement

Source§

fn into(self) -> InnerHTML

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

impl Into<InnerHTML> for SVGFEOffsetElement

Source§

fn into(self) -> InnerHTML

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

impl Into<InnerHTML> for SVGFEPointLightElement

Source§

fn into(self) -> InnerHTML

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

impl Into<InnerHTML> for SVGFESpecularLightingElement

Source§

fn into(self) -> InnerHTML

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

impl Into<InnerHTML> for SVGFESpotLightElement

Source§

fn into(self) -> InnerHTML

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

impl Into<InnerHTML> for SVGFETileElement

Source§

fn into(self) -> InnerHTML

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

impl Into<InnerHTML> for SVGFETurbulenceElement

Source§

fn into(self) -> InnerHTML

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

impl Into<InnerHTML> for SVGFilterElement

Source§

fn into(self) -> InnerHTML

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

impl Into<InnerHTML> for SVGForeignObjectElement

Source§

fn into(self) -> InnerHTML

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

impl Into<InnerHTML> for SVGGElement

Source§

fn into(self) -> InnerHTML

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

impl Into<InnerHTML> for SVGGeometryElement

Source§

fn into(self) -> InnerHTML

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

impl Into<InnerHTML> for SVGGradientElement

Source§

fn into(self) -> InnerHTML

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

impl Into<InnerHTML> for SVGGraphicsElement

Source§

fn into(self) -> InnerHTML

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

impl Into<InnerHTML> for SVGImageElement

Source§

fn into(self) -> InnerHTML

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

impl Into<InnerHTML> for SVGLineElement

Source§

fn into(self) -> InnerHTML

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

impl Into<InnerHTML> for SVGLinearGradientElement

Source§

fn into(self) -> InnerHTML

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

impl Into<InnerHTML> for SVGMPathElement

Source§

fn into(self) -> InnerHTML

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

impl Into<InnerHTML> for SVGMarkerElement

Source§

fn into(self) -> InnerHTML

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

impl Into<InnerHTML> for SVGMaskElement

Source§

fn into(self) -> InnerHTML

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

impl Into<InnerHTML> for SVGMetadataElement

Source§

fn into(self) -> InnerHTML

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

impl Into<InnerHTML> for SVGPathElement

Source§

fn into(self) -> InnerHTML

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

impl Into<InnerHTML> for SVGPatternElement

Source§

fn into(self) -> InnerHTML

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

impl Into<InnerHTML> for SVGPolygonElement

Source§

fn into(self) -> InnerHTML

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

impl Into<InnerHTML> for SVGPolylineElement

Source§

fn into(self) -> InnerHTML

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

impl Into<InnerHTML> for SVGRadialGradientElement

Source§

fn into(self) -> InnerHTML

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

impl Into<InnerHTML> for SVGRectElement

Source§

fn into(self) -> InnerHTML

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

impl Into<InnerHTML> for SVGSVGElement

Source§

fn into(self) -> InnerHTML

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

impl Into<InnerHTML> for SVGScriptElement

Source§

fn into(self) -> InnerHTML

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

impl Into<InnerHTML> for SVGSetElement

Source§

fn into(self) -> InnerHTML

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

impl Into<InnerHTML> for SVGStopElement

Source§

fn into(self) -> InnerHTML

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

impl Into<InnerHTML> for SVGStyleElement

Source§

fn into(self) -> InnerHTML

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

impl Into<InnerHTML> for SVGSwitchElement

Source§

fn into(self) -> InnerHTML

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

impl Into<InnerHTML> for SVGSymbolElement

Source§

fn into(self) -> InnerHTML

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

impl Into<InnerHTML> for SVGTSpanElement

Source§

fn into(self) -> InnerHTML

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

impl Into<InnerHTML> for SVGTextContentElement

Source§

fn into(self) -> InnerHTML

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

impl Into<InnerHTML> for SVGTextElement

Source§

fn into(self) -> InnerHTML

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

impl Into<InnerHTML> for SVGTextPathElement

Source§

fn into(self) -> InnerHTML

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

impl Into<InnerHTML> for SVGTextPositioningElement

Source§

fn into(self) -> InnerHTML

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

impl Into<InnerHTML> for SVGTitleElement

Source§

fn into(self) -> InnerHTML

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

impl Into<InnerHTML> for SVGUseElement

Source§

fn into(self) -> InnerHTML

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

impl Into<InnerHTML> for SVGViewElement

Source§

fn into(self) -> InnerHTML

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

impl Into<InnerHTML> for ShadowRoot

Source§

fn into(self) -> InnerHTML

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

impl Into<JsObject> for InnerHTML

Source§

fn into(self) -> JsObject

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

impl Into<JsValue> for InnerHTML

Source§

fn into(self) -> JsValue

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

impl JsCast for InnerHTML

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 InnerHTML

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 InnerHTML

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,