Struct Animatable

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

Implementations§

Source§

impl Animatable

Source

pub fn get_animations( &self, options: &dyn ToJs<JsNullable<GetAnimationsOptions>>, ) -> Array<Animation>

Source

pub fn animate( &self, keyframes: &dyn ToJs<JsValue>, options: &dyn ToJs<JsNullable<JsValue>>, ) -> Animation

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<Animatable> for Animatable

Source§

fn as_ref(&self) -> &Self

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

impl AsRef<Animatable> for Element

Source§

fn as_ref(&self) -> &Animatable

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

impl AsRef<Animatable> for HTMLAnchorElement

Source§

fn as_ref(&self) -> &Animatable

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

impl AsRef<Animatable> for HTMLAreaElement

Source§

fn as_ref(&self) -> &Animatable

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

impl AsRef<Animatable> for HTMLAudioElement

Source§

fn as_ref(&self) -> &Animatable

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

impl AsRef<Animatable> for HTMLBRElement

Source§

fn as_ref(&self) -> &Animatable

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

impl AsRef<Animatable> for HTMLBaseElement

Source§

fn as_ref(&self) -> &Animatable

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

impl AsRef<Animatable> for HTMLBodyElement

Source§

fn as_ref(&self) -> &Animatable

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

impl AsRef<Animatable> for HTMLButtonElement

Source§

fn as_ref(&self) -> &Animatable

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

impl AsRef<Animatable> for HTMLCanvasElement

Source§

fn as_ref(&self) -> &Animatable

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

impl AsRef<Animatable> for HTMLDListElement

Source§

fn as_ref(&self) -> &Animatable

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

impl AsRef<Animatable> for HTMLDataElement

Source§

fn as_ref(&self) -> &Animatable

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

impl AsRef<Animatable> for HTMLDataListElement

Source§

fn as_ref(&self) -> &Animatable

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

impl AsRef<Animatable> for HTMLDetailsElement

Source§

fn as_ref(&self) -> &Animatable

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

impl AsRef<Animatable> for HTMLDialogElement

Source§

fn as_ref(&self) -> &Animatable

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

impl AsRef<Animatable> for HTMLDirectoryElement

Source§

fn as_ref(&self) -> &Animatable

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

impl AsRef<Animatable> for HTMLDivElement

Source§

fn as_ref(&self) -> &Animatable

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

impl AsRef<Animatable> for HTMLElement

Source§

fn as_ref(&self) -> &Animatable

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

impl AsRef<Animatable> for HTMLEmbedElement

Source§

fn as_ref(&self) -> &Animatable

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

impl AsRef<Animatable> for HTMLFieldSetElement

Source§

fn as_ref(&self) -> &Animatable

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

impl AsRef<Animatable> for HTMLFontElement

Source§

fn as_ref(&self) -> &Animatable

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

impl AsRef<Animatable> for HTMLFormElement

Source§

fn as_ref(&self) -> &Animatable

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

impl AsRef<Animatable> for HTMLFrameElement

Source§

fn as_ref(&self) -> &Animatable

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

impl AsRef<Animatable> for HTMLFrameSetElement

Source§

fn as_ref(&self) -> &Animatable

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

impl AsRef<Animatable> for HTMLHRElement

Source§

fn as_ref(&self) -> &Animatable

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

impl AsRef<Animatable> for HTMLHeadElement

Source§

fn as_ref(&self) -> &Animatable

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

impl AsRef<Animatable> for HTMLHeadingElement

Source§

fn as_ref(&self) -> &Animatable

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

impl AsRef<Animatable> for HTMLHtmlElement

Source§

fn as_ref(&self) -> &Animatable

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

impl AsRef<Animatable> for HTMLIFrameElement

Source§

fn as_ref(&self) -> &Animatable

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

impl AsRef<Animatable> for HTMLImageElement

Source§

fn as_ref(&self) -> &Animatable

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

impl AsRef<Animatable> for HTMLInputElement

Source§

fn as_ref(&self) -> &Animatable

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

impl AsRef<Animatable> for HTMLLIElement

Source§

fn as_ref(&self) -> &Animatable

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

impl AsRef<Animatable> for HTMLLabelElement

Source§

fn as_ref(&self) -> &Animatable

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

impl AsRef<Animatable> for HTMLLegendElement

Source§

fn as_ref(&self) -> &Animatable

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

impl AsRef<Animatable> for HTMLLinkElement

Source§

fn as_ref(&self) -> &Animatable

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

impl AsRef<Animatable> for HTMLMapElement

Source§

fn as_ref(&self) -> &Animatable

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

impl AsRef<Animatable> for HTMLMarqueeElement

Source§

fn as_ref(&self) -> &Animatable

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

impl AsRef<Animatable> for HTMLMediaElement

Source§

fn as_ref(&self) -> &Animatable

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

impl AsRef<Animatable> for HTMLMenuElement

Source§

fn as_ref(&self) -> &Animatable

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

impl AsRef<Animatable> for HTMLMetaElement

Source§

fn as_ref(&self) -> &Animatable

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

impl AsRef<Animatable> for HTMLMeterElement

Source§

fn as_ref(&self) -> &Animatable

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

impl AsRef<Animatable> for HTMLModElement

Source§

fn as_ref(&self) -> &Animatable

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

impl AsRef<Animatable> for HTMLOListElement

Source§

fn as_ref(&self) -> &Animatable

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

impl AsRef<Animatable> for HTMLObjectElement

Source§

fn as_ref(&self) -> &Animatable

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

impl AsRef<Animatable> for HTMLOptGroupElement

Source§

fn as_ref(&self) -> &Animatable

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

impl AsRef<Animatable> for HTMLOptionElement

Source§

fn as_ref(&self) -> &Animatable

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

impl AsRef<Animatable> for HTMLOutputElement

Source§

fn as_ref(&self) -> &Animatable

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

impl AsRef<Animatable> for HTMLParagraphElement

Source§

fn as_ref(&self) -> &Animatable

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

impl AsRef<Animatable> for HTMLParamElement

Source§

fn as_ref(&self) -> &Animatable

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

impl AsRef<Animatable> for HTMLPictureElement

Source§

fn as_ref(&self) -> &Animatable

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

impl AsRef<Animatable> for HTMLPreElement

Source§

fn as_ref(&self) -> &Animatable

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

impl AsRef<Animatable> for HTMLProgressElement

Source§

fn as_ref(&self) -> &Animatable

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

impl AsRef<Animatable> for HTMLQuoteElement

Source§

fn as_ref(&self) -> &Animatable

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

impl AsRef<Animatable> for HTMLScriptElement

Source§

fn as_ref(&self) -> &Animatable

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

impl AsRef<Animatable> for HTMLSelectElement

Source§

fn as_ref(&self) -> &Animatable

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

impl AsRef<Animatable> for HTMLSlotElement

Source§

fn as_ref(&self) -> &Animatable

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

impl AsRef<Animatable> for HTMLSourceElement

Source§

fn as_ref(&self) -> &Animatable

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

impl AsRef<Animatable> for HTMLSpanElement

Source§

fn as_ref(&self) -> &Animatable

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

impl AsRef<Animatable> for HTMLStyleElement

Source§

fn as_ref(&self) -> &Animatable

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

impl AsRef<Animatable> for HTMLTableCaptionElement

Source§

fn as_ref(&self) -> &Animatable

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

impl AsRef<Animatable> for HTMLTableCellElement

Source§

fn as_ref(&self) -> &Animatable

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

impl AsRef<Animatable> for HTMLTableColElement

Source§

fn as_ref(&self) -> &Animatable

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

impl AsRef<Animatable> for HTMLTableDataCellElement

Source§

fn as_ref(&self) -> &Animatable

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

impl AsRef<Animatable> for HTMLTableElement

Source§

fn as_ref(&self) -> &Animatable

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

impl AsRef<Animatable> for HTMLTableHeaderCellElement

Source§

fn as_ref(&self) -> &Animatable

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

impl AsRef<Animatable> for HTMLTableRowElement

Source§

fn as_ref(&self) -> &Animatable

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

impl AsRef<Animatable> for HTMLTableSectionElement

Source§

fn as_ref(&self) -> &Animatable

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

impl AsRef<Animatable> for HTMLTemplateElement

Source§

fn as_ref(&self) -> &Animatable

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

impl AsRef<Animatable> for HTMLTextAreaElement

Source§

fn as_ref(&self) -> &Animatable

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

impl AsRef<Animatable> for HTMLTimeElement

Source§

fn as_ref(&self) -> &Animatable

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

impl AsRef<Animatable> for HTMLTitleElement

Source§

fn as_ref(&self) -> &Animatable

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

impl AsRef<Animatable> for HTMLTrackElement

Source§

fn as_ref(&self) -> &Animatable

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

impl AsRef<Animatable> for HTMLUListElement

Source§

fn as_ref(&self) -> &Animatable

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

impl AsRef<Animatable> for HTMLUnknownElement

Source§

fn as_ref(&self) -> &Animatable

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

impl AsRef<Animatable> for HTMLVideoElement

Source§

fn as_ref(&self) -> &Animatable

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

impl AsRef<Animatable> for MathMLElement

Source§

fn as_ref(&self) -> &Animatable

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

impl AsRef<Animatable> for SVGAElement

Source§

fn as_ref(&self) -> &Animatable

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

impl AsRef<Animatable> for SVGAnimateElement

Source§

fn as_ref(&self) -> &Animatable

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

impl AsRef<Animatable> for SVGAnimateMotionElement

Source§

fn as_ref(&self) -> &Animatable

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

impl AsRef<Animatable> for SVGAnimateTransformElement

Source§

fn as_ref(&self) -> &Animatable

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

impl AsRef<Animatable> for SVGAnimationElement

Source§

fn as_ref(&self) -> &Animatable

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

impl AsRef<Animatable> for SVGCircleElement

Source§

fn as_ref(&self) -> &Animatable

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

impl AsRef<Animatable> for SVGClipPathElement

Source§

fn as_ref(&self) -> &Animatable

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

impl AsRef<Animatable> for SVGComponentTransferFunctionElement

Source§

fn as_ref(&self) -> &Animatable

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

impl AsRef<Animatable> for SVGDefsElement

Source§

fn as_ref(&self) -> &Animatable

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

impl AsRef<Animatable> for SVGDescElement

Source§

fn as_ref(&self) -> &Animatable

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

impl AsRef<Animatable> for SVGElement

Source§

fn as_ref(&self) -> &Animatable

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

impl AsRef<Animatable> for SVGEllipseElement

Source§

fn as_ref(&self) -> &Animatable

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

impl AsRef<Animatable> for SVGFEBlendElement

Source§

fn as_ref(&self) -> &Animatable

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

impl AsRef<Animatable> for SVGFEColorMatrixElement

Source§

fn as_ref(&self) -> &Animatable

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

impl AsRef<Animatable> for SVGFEComponentTransferElement

Source§

fn as_ref(&self) -> &Animatable

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

impl AsRef<Animatable> for SVGFECompositeElement

Source§

fn as_ref(&self) -> &Animatable

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

impl AsRef<Animatable> for SVGFEConvolveMatrixElement

Source§

fn as_ref(&self) -> &Animatable

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

impl AsRef<Animatable> for SVGFEDiffuseLightingElement

Source§

fn as_ref(&self) -> &Animatable

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

impl AsRef<Animatable> for SVGFEDisplacementMapElement

Source§

fn as_ref(&self) -> &Animatable

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

impl AsRef<Animatable> for SVGFEDistantLightElement

Source§

fn as_ref(&self) -> &Animatable

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

impl AsRef<Animatable> for SVGFEDropShadowElement

Source§

fn as_ref(&self) -> &Animatable

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

impl AsRef<Animatable> for SVGFEFloodElement

Source§

fn as_ref(&self) -> &Animatable

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

impl AsRef<Animatable> for SVGFEFuncAElement

Source§

fn as_ref(&self) -> &Animatable

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

impl AsRef<Animatable> for SVGFEFuncBElement

Source§

fn as_ref(&self) -> &Animatable

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

impl AsRef<Animatable> for SVGFEFuncGElement

Source§

fn as_ref(&self) -> &Animatable

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

impl AsRef<Animatable> for SVGFEFuncRElement

Source§

fn as_ref(&self) -> &Animatable

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

impl AsRef<Animatable> for SVGFEGaussianBlurElement

Source§

fn as_ref(&self) -> &Animatable

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

impl AsRef<Animatable> for SVGFEImageElement

Source§

fn as_ref(&self) -> &Animatable

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

impl AsRef<Animatable> for SVGFEMergeElement

Source§

fn as_ref(&self) -> &Animatable

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

impl AsRef<Animatable> for SVGFEMergeNodeElement

Source§

fn as_ref(&self) -> &Animatable

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

impl AsRef<Animatable> for SVGFEMorphologyElement

Source§

fn as_ref(&self) -> &Animatable

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

impl AsRef<Animatable> for SVGFEOffsetElement

Source§

fn as_ref(&self) -> &Animatable

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

impl AsRef<Animatable> for SVGFEPointLightElement

Source§

fn as_ref(&self) -> &Animatable

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

impl AsRef<Animatable> for SVGFESpecularLightingElement

Source§

fn as_ref(&self) -> &Animatable

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

impl AsRef<Animatable> for SVGFESpotLightElement

Source§

fn as_ref(&self) -> &Animatable

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

impl AsRef<Animatable> for SVGFETileElement

Source§

fn as_ref(&self) -> &Animatable

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

impl AsRef<Animatable> for SVGFETurbulenceElement

Source§

fn as_ref(&self) -> &Animatable

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

impl AsRef<Animatable> for SVGFilterElement

Source§

fn as_ref(&self) -> &Animatable

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

impl AsRef<Animatable> for SVGForeignObjectElement

Source§

fn as_ref(&self) -> &Animatable

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

impl AsRef<Animatable> for SVGGElement

Source§

fn as_ref(&self) -> &Animatable

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

impl AsRef<Animatable> for SVGGeometryElement

Source§

fn as_ref(&self) -> &Animatable

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

impl AsRef<Animatable> for SVGGradientElement

Source§

fn as_ref(&self) -> &Animatable

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

impl AsRef<Animatable> for SVGGraphicsElement

Source§

fn as_ref(&self) -> &Animatable

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

impl AsRef<Animatable> for SVGImageElement

Source§

fn as_ref(&self) -> &Animatable

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

impl AsRef<Animatable> for SVGLineElement

Source§

fn as_ref(&self) -> &Animatable

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

impl AsRef<Animatable> for SVGLinearGradientElement

Source§

fn as_ref(&self) -> &Animatable

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

impl AsRef<Animatable> for SVGMPathElement

Source§

fn as_ref(&self) -> &Animatable

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

impl AsRef<Animatable> for SVGMarkerElement

Source§

fn as_ref(&self) -> &Animatable

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

impl AsRef<Animatable> for SVGMaskElement

Source§

fn as_ref(&self) -> &Animatable

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

impl AsRef<Animatable> for SVGMetadataElement

Source§

fn as_ref(&self) -> &Animatable

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

impl AsRef<Animatable> for SVGPathElement

Source§

fn as_ref(&self) -> &Animatable

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

impl AsRef<Animatable> for SVGPatternElement

Source§

fn as_ref(&self) -> &Animatable

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

impl AsRef<Animatable> for SVGPolygonElement

Source§

fn as_ref(&self) -> &Animatable

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

impl AsRef<Animatable> for SVGPolylineElement

Source§

fn as_ref(&self) -> &Animatable

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

impl AsRef<Animatable> for SVGRadialGradientElement

Source§

fn as_ref(&self) -> &Animatable

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

impl AsRef<Animatable> for SVGRectElement

Source§

fn as_ref(&self) -> &Animatable

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

impl AsRef<Animatable> for SVGSVGElement

Source§

fn as_ref(&self) -> &Animatable

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

impl AsRef<Animatable> for SVGScriptElement

Source§

fn as_ref(&self) -> &Animatable

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

impl AsRef<Animatable> for SVGSetElement

Source§

fn as_ref(&self) -> &Animatable

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

impl AsRef<Animatable> for SVGStopElement

Source§

fn as_ref(&self) -> &Animatable

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

impl AsRef<Animatable> for SVGStyleElement

Source§

fn as_ref(&self) -> &Animatable

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

impl AsRef<Animatable> for SVGSwitchElement

Source§

fn as_ref(&self) -> &Animatable

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

impl AsRef<Animatable> for SVGSymbolElement

Source§

fn as_ref(&self) -> &Animatable

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

impl AsRef<Animatable> for SVGTSpanElement

Source§

fn as_ref(&self) -> &Animatable

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

impl AsRef<Animatable> for SVGTextContentElement

Source§

fn as_ref(&self) -> &Animatable

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

impl AsRef<Animatable> for SVGTextElement

Source§

fn as_ref(&self) -> &Animatable

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

impl AsRef<Animatable> for SVGTextPathElement

Source§

fn as_ref(&self) -> &Animatable

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

impl AsRef<Animatable> for SVGTextPositioningElement

Source§

fn as_ref(&self) -> &Animatable

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

impl AsRef<Animatable> for SVGTitleElement

Source§

fn as_ref(&self) -> &Animatable

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

impl AsRef<Animatable> for SVGUseElement

Source§

fn as_ref(&self) -> &Animatable

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

impl AsRef<Animatable> for SVGViewElement

Source§

fn as_ref(&self) -> &Animatable

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

impl AsRef<JsObject> for Animatable

Source§

fn as_ref(&self) -> &JsObject

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

impl AsRef<JsValue> for Animatable

Source§

fn as_ref(&self) -> &JsValue

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

impl Clone for Animatable

Source§

fn clone(&self) -> Animatable

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 Animatable

Source§

type Target = JsObject

The resulting type after dereferencing.
Source§

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

Dereferences the value.
Source§

impl Into<Animatable> for Element

Source§

fn into(self) -> Animatable

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

impl Into<Animatable> for HTMLAnchorElement

Source§

fn into(self) -> Animatable

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

impl Into<Animatable> for HTMLAreaElement

Source§

fn into(self) -> Animatable

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

impl Into<Animatable> for HTMLAudioElement

Source§

fn into(self) -> Animatable

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

impl Into<Animatable> for HTMLBRElement

Source§

fn into(self) -> Animatable

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

impl Into<Animatable> for HTMLBaseElement

Source§

fn into(self) -> Animatable

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

impl Into<Animatable> for HTMLBodyElement

Source§

fn into(self) -> Animatable

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

impl Into<Animatable> for HTMLButtonElement

Source§

fn into(self) -> Animatable

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

impl Into<Animatable> for HTMLCanvasElement

Source§

fn into(self) -> Animatable

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

impl Into<Animatable> for HTMLDListElement

Source§

fn into(self) -> Animatable

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

impl Into<Animatable> for HTMLDataElement

Source§

fn into(self) -> Animatable

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

impl Into<Animatable> for HTMLDataListElement

Source§

fn into(self) -> Animatable

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

impl Into<Animatable> for HTMLDetailsElement

Source§

fn into(self) -> Animatable

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

impl Into<Animatable> for HTMLDialogElement

Source§

fn into(self) -> Animatable

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

impl Into<Animatable> for HTMLDirectoryElement

Source§

fn into(self) -> Animatable

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

impl Into<Animatable> for HTMLDivElement

Source§

fn into(self) -> Animatable

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

impl Into<Animatable> for HTMLElement

Source§

fn into(self) -> Animatable

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

impl Into<Animatable> for HTMLEmbedElement

Source§

fn into(self) -> Animatable

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

impl Into<Animatable> for HTMLFieldSetElement

Source§

fn into(self) -> Animatable

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

impl Into<Animatable> for HTMLFontElement

Source§

fn into(self) -> Animatable

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

impl Into<Animatable> for HTMLFormElement

Source§

fn into(self) -> Animatable

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

impl Into<Animatable> for HTMLFrameElement

Source§

fn into(self) -> Animatable

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

impl Into<Animatable> for HTMLFrameSetElement

Source§

fn into(self) -> Animatable

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

impl Into<Animatable> for HTMLHRElement

Source§

fn into(self) -> Animatable

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

impl Into<Animatable> for HTMLHeadElement

Source§

fn into(self) -> Animatable

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

impl Into<Animatable> for HTMLHeadingElement

Source§

fn into(self) -> Animatable

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

impl Into<Animatable> for HTMLHtmlElement

Source§

fn into(self) -> Animatable

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

impl Into<Animatable> for HTMLIFrameElement

Source§

fn into(self) -> Animatable

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

impl Into<Animatable> for HTMLImageElement

Source§

fn into(self) -> Animatable

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

impl Into<Animatable> for HTMLInputElement

Source§

fn into(self) -> Animatable

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

impl Into<Animatable> for HTMLLIElement

Source§

fn into(self) -> Animatable

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

impl Into<Animatable> for HTMLLabelElement

Source§

fn into(self) -> Animatable

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

impl Into<Animatable> for HTMLLegendElement

Source§

fn into(self) -> Animatable

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

impl Into<Animatable> for HTMLLinkElement

Source§

fn into(self) -> Animatable

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

impl Into<Animatable> for HTMLMapElement

Source§

fn into(self) -> Animatable

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

impl Into<Animatable> for HTMLMarqueeElement

Source§

fn into(self) -> Animatable

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

impl Into<Animatable> for HTMLMediaElement

Source§

fn into(self) -> Animatable

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

impl Into<Animatable> for HTMLMenuElement

Source§

fn into(self) -> Animatable

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

impl Into<Animatable> for HTMLMetaElement

Source§

fn into(self) -> Animatable

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

impl Into<Animatable> for HTMLMeterElement

Source§

fn into(self) -> Animatable

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

impl Into<Animatable> for HTMLModElement

Source§

fn into(self) -> Animatable

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

impl Into<Animatable> for HTMLOListElement

Source§

fn into(self) -> Animatable

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

impl Into<Animatable> for HTMLObjectElement

Source§

fn into(self) -> Animatable

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

impl Into<Animatable> for HTMLOptGroupElement

Source§

fn into(self) -> Animatable

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

impl Into<Animatable> for HTMLOptionElement

Source§

fn into(self) -> Animatable

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

impl Into<Animatable> for HTMLOutputElement

Source§

fn into(self) -> Animatable

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

impl Into<Animatable> for HTMLParagraphElement

Source§

fn into(self) -> Animatable

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

impl Into<Animatable> for HTMLParamElement

Source§

fn into(self) -> Animatable

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

impl Into<Animatable> for HTMLPictureElement

Source§

fn into(self) -> Animatable

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

impl Into<Animatable> for HTMLPreElement

Source§

fn into(self) -> Animatable

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

impl Into<Animatable> for HTMLProgressElement

Source§

fn into(self) -> Animatable

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

impl Into<Animatable> for HTMLQuoteElement

Source§

fn into(self) -> Animatable

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

impl Into<Animatable> for HTMLScriptElement

Source§

fn into(self) -> Animatable

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

impl Into<Animatable> for HTMLSelectElement

Source§

fn into(self) -> Animatable

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

impl Into<Animatable> for HTMLSlotElement

Source§

fn into(self) -> Animatable

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

impl Into<Animatable> for HTMLSourceElement

Source§

fn into(self) -> Animatable

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

impl Into<Animatable> for HTMLSpanElement

Source§

fn into(self) -> Animatable

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

impl Into<Animatable> for HTMLStyleElement

Source§

fn into(self) -> Animatable

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

impl Into<Animatable> for HTMLTableCaptionElement

Source§

fn into(self) -> Animatable

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

impl Into<Animatable> for HTMLTableCellElement

Source§

fn into(self) -> Animatable

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

impl Into<Animatable> for HTMLTableColElement

Source§

fn into(self) -> Animatable

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

impl Into<Animatable> for HTMLTableDataCellElement

Source§

fn into(self) -> Animatable

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

impl Into<Animatable> for HTMLTableElement

Source§

fn into(self) -> Animatable

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

impl Into<Animatable> for HTMLTableHeaderCellElement

Source§

fn into(self) -> Animatable

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

impl Into<Animatable> for HTMLTableRowElement

Source§

fn into(self) -> Animatable

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

impl Into<Animatable> for HTMLTableSectionElement

Source§

fn into(self) -> Animatable

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

impl Into<Animatable> for HTMLTemplateElement

Source§

fn into(self) -> Animatable

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

impl Into<Animatable> for HTMLTextAreaElement

Source§

fn into(self) -> Animatable

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

impl Into<Animatable> for HTMLTimeElement

Source§

fn into(self) -> Animatable

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

impl Into<Animatable> for HTMLTitleElement

Source§

fn into(self) -> Animatable

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

impl Into<Animatable> for HTMLTrackElement

Source§

fn into(self) -> Animatable

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

impl Into<Animatable> for HTMLUListElement

Source§

fn into(self) -> Animatable

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

impl Into<Animatable> for HTMLUnknownElement

Source§

fn into(self) -> Animatable

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

impl Into<Animatable> for HTMLVideoElement

Source§

fn into(self) -> Animatable

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

impl Into<Animatable> for MathMLElement

Source§

fn into(self) -> Animatable

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

impl Into<Animatable> for SVGAElement

Source§

fn into(self) -> Animatable

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

impl Into<Animatable> for SVGAnimateElement

Source§

fn into(self) -> Animatable

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

impl Into<Animatable> for SVGAnimateMotionElement

Source§

fn into(self) -> Animatable

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

impl Into<Animatable> for SVGAnimateTransformElement

Source§

fn into(self) -> Animatable

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

impl Into<Animatable> for SVGAnimationElement

Source§

fn into(self) -> Animatable

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

impl Into<Animatable> for SVGCircleElement

Source§

fn into(self) -> Animatable

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

impl Into<Animatable> for SVGClipPathElement

Source§

fn into(self) -> Animatable

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

impl Into<Animatable> for SVGComponentTransferFunctionElement

Source§

fn into(self) -> Animatable

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

impl Into<Animatable> for SVGDefsElement

Source§

fn into(self) -> Animatable

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

impl Into<Animatable> for SVGDescElement

Source§

fn into(self) -> Animatable

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

impl Into<Animatable> for SVGElement

Source§

fn into(self) -> Animatable

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

impl Into<Animatable> for SVGEllipseElement

Source§

fn into(self) -> Animatable

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

impl Into<Animatable> for SVGFEBlendElement

Source§

fn into(self) -> Animatable

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

impl Into<Animatable> for SVGFEColorMatrixElement

Source§

fn into(self) -> Animatable

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

impl Into<Animatable> for SVGFEComponentTransferElement

Source§

fn into(self) -> Animatable

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

impl Into<Animatable> for SVGFECompositeElement

Source§

fn into(self) -> Animatable

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

impl Into<Animatable> for SVGFEConvolveMatrixElement

Source§

fn into(self) -> Animatable

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

impl Into<Animatable> for SVGFEDiffuseLightingElement

Source§

fn into(self) -> Animatable

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

impl Into<Animatable> for SVGFEDisplacementMapElement

Source§

fn into(self) -> Animatable

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

impl Into<Animatable> for SVGFEDistantLightElement

Source§

fn into(self) -> Animatable

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

impl Into<Animatable> for SVGFEDropShadowElement

Source§

fn into(self) -> Animatable

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

impl Into<Animatable> for SVGFEFloodElement

Source§

fn into(self) -> Animatable

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

impl Into<Animatable> for SVGFEFuncAElement

Source§

fn into(self) -> Animatable

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

impl Into<Animatable> for SVGFEFuncBElement

Source§

fn into(self) -> Animatable

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

impl Into<Animatable> for SVGFEFuncGElement

Source§

fn into(self) -> Animatable

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

impl Into<Animatable> for SVGFEFuncRElement

Source§

fn into(self) -> Animatable

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

impl Into<Animatable> for SVGFEGaussianBlurElement

Source§

fn into(self) -> Animatable

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

impl Into<Animatable> for SVGFEImageElement

Source§

fn into(self) -> Animatable

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

impl Into<Animatable> for SVGFEMergeElement

Source§

fn into(self) -> Animatable

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

impl Into<Animatable> for SVGFEMergeNodeElement

Source§

fn into(self) -> Animatable

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

impl Into<Animatable> for SVGFEMorphologyElement

Source§

fn into(self) -> Animatable

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

impl Into<Animatable> for SVGFEOffsetElement

Source§

fn into(self) -> Animatable

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

impl Into<Animatable> for SVGFEPointLightElement

Source§

fn into(self) -> Animatable

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

impl Into<Animatable> for SVGFESpecularLightingElement

Source§

fn into(self) -> Animatable

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

impl Into<Animatable> for SVGFESpotLightElement

Source§

fn into(self) -> Animatable

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

impl Into<Animatable> for SVGFETileElement

Source§

fn into(self) -> Animatable

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

impl Into<Animatable> for SVGFETurbulenceElement

Source§

fn into(self) -> Animatable

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

impl Into<Animatable> for SVGFilterElement

Source§

fn into(self) -> Animatable

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

impl Into<Animatable> for SVGForeignObjectElement

Source§

fn into(self) -> Animatable

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

impl Into<Animatable> for SVGGElement

Source§

fn into(self) -> Animatable

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

impl Into<Animatable> for SVGGeometryElement

Source§

fn into(self) -> Animatable

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

impl Into<Animatable> for SVGGradientElement

Source§

fn into(self) -> Animatable

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

impl Into<Animatable> for SVGGraphicsElement

Source§

fn into(self) -> Animatable

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

impl Into<Animatable> for SVGImageElement

Source§

fn into(self) -> Animatable

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

impl Into<Animatable> for SVGLineElement

Source§

fn into(self) -> Animatable

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

impl Into<Animatable> for SVGLinearGradientElement

Source§

fn into(self) -> Animatable

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

impl Into<Animatable> for SVGMPathElement

Source§

fn into(self) -> Animatable

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

impl Into<Animatable> for SVGMarkerElement

Source§

fn into(self) -> Animatable

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

impl Into<Animatable> for SVGMaskElement

Source§

fn into(self) -> Animatable

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

impl Into<Animatable> for SVGMetadataElement

Source§

fn into(self) -> Animatable

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

impl Into<Animatable> for SVGPathElement

Source§

fn into(self) -> Animatable

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

impl Into<Animatable> for SVGPatternElement

Source§

fn into(self) -> Animatable

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

impl Into<Animatable> for SVGPolygonElement

Source§

fn into(self) -> Animatable

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

impl Into<Animatable> for SVGPolylineElement

Source§

fn into(self) -> Animatable

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

impl Into<Animatable> for SVGRadialGradientElement

Source§

fn into(self) -> Animatable

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

impl Into<Animatable> for SVGRectElement

Source§

fn into(self) -> Animatable

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

impl Into<Animatable> for SVGSVGElement

Source§

fn into(self) -> Animatable

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

impl Into<Animatable> for SVGScriptElement

Source§

fn into(self) -> Animatable

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

impl Into<Animatable> for SVGSetElement

Source§

fn into(self) -> Animatable

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

impl Into<Animatable> for SVGStopElement

Source§

fn into(self) -> Animatable

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

impl Into<Animatable> for SVGStyleElement

Source§

fn into(self) -> Animatable

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

impl Into<Animatable> for SVGSwitchElement

Source§

fn into(self) -> Animatable

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

impl Into<Animatable> for SVGSymbolElement

Source§

fn into(self) -> Animatable

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

impl Into<Animatable> for SVGTSpanElement

Source§

fn into(self) -> Animatable

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

impl Into<Animatable> for SVGTextContentElement

Source§

fn into(self) -> Animatable

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

impl Into<Animatable> for SVGTextElement

Source§

fn into(self) -> Animatable

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

impl Into<Animatable> for SVGTextPathElement

Source§

fn into(self) -> Animatable

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

impl Into<Animatable> for SVGTextPositioningElement

Source§

fn into(self) -> Animatable

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

impl Into<Animatable> for SVGTitleElement

Source§

fn into(self) -> Animatable

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

impl Into<Animatable> for SVGUseElement

Source§

fn into(self) -> Animatable

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

impl Into<Animatable> for SVGViewElement

Source§

fn into(self) -> Animatable

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

impl Into<JsObject> for Animatable

Source§

fn into(self) -> JsObject

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

impl Into<JsValue> for Animatable

Source§

fn into(self) -> JsValue

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

impl JsCast for Animatable

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 Animatable

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 Animatable

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,