pub struct ElementCSSInlineStyle(/* private fields */);
Implementations§
Source§impl ElementCSSInlineStyle
impl ElementCSSInlineStyle
pub fn get_style(&self) -> CSSStyleDeclaration
pub fn set_style(&self, value: &CSSStyleDeclaration)
pub fn get_attribute_style_map(&self) -> StylePropertyMap
pub fn set_attribute_style_map(&self, value: &StylePropertyMap)
Methods from Deref<Target = JsObject>§
Sourcepub fn js_get_field(&self, property: &dyn UseInJsCode) -> JsValue
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();
}
Sourcepub fn js_set_field(&self, property: &dyn UseInJsCode, value: &dyn UseInJsCode)
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");
}
Sourcepub fn js_call_method<'a>(
&'a self,
method_name: &'a str,
args: impl IntoIterator<Item = &'a dyn UseInJsCode>,
last_arg_variadic: bool,
) -> JsValue
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)
.
Sourcepub fn js_call_self<'a>(
&'a self,
args: impl IntoIterator<Item = &'a dyn UseInJsCode>,
last_arg_variadic: bool,
) -> JsValue
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>§
pub fn browser(&self) -> &Browser
Sourcepub fn retrieve_json(&self) -> RetrieveFuture<'_, Value>
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<ElementCSSInlineStyle> for HTMLAnchorElement
impl AsRef<ElementCSSInlineStyle> for HTMLAnchorElement
Source§fn as_ref(&self) -> &ElementCSSInlineStyle
fn as_ref(&self) -> &ElementCSSInlineStyle
Source§impl AsRef<ElementCSSInlineStyle> for HTMLAreaElement
impl AsRef<ElementCSSInlineStyle> for HTMLAreaElement
Source§fn as_ref(&self) -> &ElementCSSInlineStyle
fn as_ref(&self) -> &ElementCSSInlineStyle
Source§impl AsRef<ElementCSSInlineStyle> for HTMLAudioElement
impl AsRef<ElementCSSInlineStyle> for HTMLAudioElement
Source§fn as_ref(&self) -> &ElementCSSInlineStyle
fn as_ref(&self) -> &ElementCSSInlineStyle
Source§impl AsRef<ElementCSSInlineStyle> for HTMLBRElement
impl AsRef<ElementCSSInlineStyle> for HTMLBRElement
Source§fn as_ref(&self) -> &ElementCSSInlineStyle
fn as_ref(&self) -> &ElementCSSInlineStyle
Source§impl AsRef<ElementCSSInlineStyle> for HTMLBaseElement
impl AsRef<ElementCSSInlineStyle> for HTMLBaseElement
Source§fn as_ref(&self) -> &ElementCSSInlineStyle
fn as_ref(&self) -> &ElementCSSInlineStyle
Source§impl AsRef<ElementCSSInlineStyle> for HTMLBodyElement
impl AsRef<ElementCSSInlineStyle> for HTMLBodyElement
Source§fn as_ref(&self) -> &ElementCSSInlineStyle
fn as_ref(&self) -> &ElementCSSInlineStyle
Source§impl AsRef<ElementCSSInlineStyle> for HTMLButtonElement
impl AsRef<ElementCSSInlineStyle> for HTMLButtonElement
Source§fn as_ref(&self) -> &ElementCSSInlineStyle
fn as_ref(&self) -> &ElementCSSInlineStyle
Source§impl AsRef<ElementCSSInlineStyle> for HTMLCanvasElement
impl AsRef<ElementCSSInlineStyle> for HTMLCanvasElement
Source§fn as_ref(&self) -> &ElementCSSInlineStyle
fn as_ref(&self) -> &ElementCSSInlineStyle
Source§impl AsRef<ElementCSSInlineStyle> for HTMLDListElement
impl AsRef<ElementCSSInlineStyle> for HTMLDListElement
Source§fn as_ref(&self) -> &ElementCSSInlineStyle
fn as_ref(&self) -> &ElementCSSInlineStyle
Source§impl AsRef<ElementCSSInlineStyle> for HTMLDataElement
impl AsRef<ElementCSSInlineStyle> for HTMLDataElement
Source§fn as_ref(&self) -> &ElementCSSInlineStyle
fn as_ref(&self) -> &ElementCSSInlineStyle
Source§impl AsRef<ElementCSSInlineStyle> for HTMLDataListElement
impl AsRef<ElementCSSInlineStyle> for HTMLDataListElement
Source§fn as_ref(&self) -> &ElementCSSInlineStyle
fn as_ref(&self) -> &ElementCSSInlineStyle
Source§impl AsRef<ElementCSSInlineStyle> for HTMLDetailsElement
impl AsRef<ElementCSSInlineStyle> for HTMLDetailsElement
Source§fn as_ref(&self) -> &ElementCSSInlineStyle
fn as_ref(&self) -> &ElementCSSInlineStyle
Source§impl AsRef<ElementCSSInlineStyle> for HTMLDialogElement
impl AsRef<ElementCSSInlineStyle> for HTMLDialogElement
Source§fn as_ref(&self) -> &ElementCSSInlineStyle
fn as_ref(&self) -> &ElementCSSInlineStyle
Source§impl AsRef<ElementCSSInlineStyle> for HTMLDirectoryElement
impl AsRef<ElementCSSInlineStyle> for HTMLDirectoryElement
Source§fn as_ref(&self) -> &ElementCSSInlineStyle
fn as_ref(&self) -> &ElementCSSInlineStyle
Source§impl AsRef<ElementCSSInlineStyle> for HTMLDivElement
impl AsRef<ElementCSSInlineStyle> for HTMLDivElement
Source§fn as_ref(&self) -> &ElementCSSInlineStyle
fn as_ref(&self) -> &ElementCSSInlineStyle
Source§impl AsRef<ElementCSSInlineStyle> for HTMLElement
impl AsRef<ElementCSSInlineStyle> for HTMLElement
Source§fn as_ref(&self) -> &ElementCSSInlineStyle
fn as_ref(&self) -> &ElementCSSInlineStyle
Source§impl AsRef<ElementCSSInlineStyle> for HTMLEmbedElement
impl AsRef<ElementCSSInlineStyle> for HTMLEmbedElement
Source§fn as_ref(&self) -> &ElementCSSInlineStyle
fn as_ref(&self) -> &ElementCSSInlineStyle
Source§impl AsRef<ElementCSSInlineStyle> for HTMLFieldSetElement
impl AsRef<ElementCSSInlineStyle> for HTMLFieldSetElement
Source§fn as_ref(&self) -> &ElementCSSInlineStyle
fn as_ref(&self) -> &ElementCSSInlineStyle
Source§impl AsRef<ElementCSSInlineStyle> for HTMLFontElement
impl AsRef<ElementCSSInlineStyle> for HTMLFontElement
Source§fn as_ref(&self) -> &ElementCSSInlineStyle
fn as_ref(&self) -> &ElementCSSInlineStyle
Source§impl AsRef<ElementCSSInlineStyle> for HTMLFormElement
impl AsRef<ElementCSSInlineStyle> for HTMLFormElement
Source§fn as_ref(&self) -> &ElementCSSInlineStyle
fn as_ref(&self) -> &ElementCSSInlineStyle
Source§impl AsRef<ElementCSSInlineStyle> for HTMLFrameElement
impl AsRef<ElementCSSInlineStyle> for HTMLFrameElement
Source§fn as_ref(&self) -> &ElementCSSInlineStyle
fn as_ref(&self) -> &ElementCSSInlineStyle
Source§impl AsRef<ElementCSSInlineStyle> for HTMLFrameSetElement
impl AsRef<ElementCSSInlineStyle> for HTMLFrameSetElement
Source§fn as_ref(&self) -> &ElementCSSInlineStyle
fn as_ref(&self) -> &ElementCSSInlineStyle
Source§impl AsRef<ElementCSSInlineStyle> for HTMLHRElement
impl AsRef<ElementCSSInlineStyle> for HTMLHRElement
Source§fn as_ref(&self) -> &ElementCSSInlineStyle
fn as_ref(&self) -> &ElementCSSInlineStyle
Source§impl AsRef<ElementCSSInlineStyle> for HTMLHeadElement
impl AsRef<ElementCSSInlineStyle> for HTMLHeadElement
Source§fn as_ref(&self) -> &ElementCSSInlineStyle
fn as_ref(&self) -> &ElementCSSInlineStyle
Source§impl AsRef<ElementCSSInlineStyle> for HTMLHeadingElement
impl AsRef<ElementCSSInlineStyle> for HTMLHeadingElement
Source§fn as_ref(&self) -> &ElementCSSInlineStyle
fn as_ref(&self) -> &ElementCSSInlineStyle
Source§impl AsRef<ElementCSSInlineStyle> for HTMLHtmlElement
impl AsRef<ElementCSSInlineStyle> for HTMLHtmlElement
Source§fn as_ref(&self) -> &ElementCSSInlineStyle
fn as_ref(&self) -> &ElementCSSInlineStyle
Source§impl AsRef<ElementCSSInlineStyle> for HTMLIFrameElement
impl AsRef<ElementCSSInlineStyle> for HTMLIFrameElement
Source§fn as_ref(&self) -> &ElementCSSInlineStyle
fn as_ref(&self) -> &ElementCSSInlineStyle
Source§impl AsRef<ElementCSSInlineStyle> for HTMLImageElement
impl AsRef<ElementCSSInlineStyle> for HTMLImageElement
Source§fn as_ref(&self) -> &ElementCSSInlineStyle
fn as_ref(&self) -> &ElementCSSInlineStyle
Source§impl AsRef<ElementCSSInlineStyle> for HTMLInputElement
impl AsRef<ElementCSSInlineStyle> for HTMLInputElement
Source§fn as_ref(&self) -> &ElementCSSInlineStyle
fn as_ref(&self) -> &ElementCSSInlineStyle
Source§impl AsRef<ElementCSSInlineStyle> for HTMLLIElement
impl AsRef<ElementCSSInlineStyle> for HTMLLIElement
Source§fn as_ref(&self) -> &ElementCSSInlineStyle
fn as_ref(&self) -> &ElementCSSInlineStyle
Source§impl AsRef<ElementCSSInlineStyle> for HTMLLabelElement
impl AsRef<ElementCSSInlineStyle> for HTMLLabelElement
Source§fn as_ref(&self) -> &ElementCSSInlineStyle
fn as_ref(&self) -> &ElementCSSInlineStyle
Source§impl AsRef<ElementCSSInlineStyle> for HTMLLegendElement
impl AsRef<ElementCSSInlineStyle> for HTMLLegendElement
Source§fn as_ref(&self) -> &ElementCSSInlineStyle
fn as_ref(&self) -> &ElementCSSInlineStyle
Source§impl AsRef<ElementCSSInlineStyle> for HTMLLinkElement
impl AsRef<ElementCSSInlineStyle> for HTMLLinkElement
Source§fn as_ref(&self) -> &ElementCSSInlineStyle
fn as_ref(&self) -> &ElementCSSInlineStyle
Source§impl AsRef<ElementCSSInlineStyle> for HTMLMapElement
impl AsRef<ElementCSSInlineStyle> for HTMLMapElement
Source§fn as_ref(&self) -> &ElementCSSInlineStyle
fn as_ref(&self) -> &ElementCSSInlineStyle
Source§impl AsRef<ElementCSSInlineStyle> for HTMLMarqueeElement
impl AsRef<ElementCSSInlineStyle> for HTMLMarqueeElement
Source§fn as_ref(&self) -> &ElementCSSInlineStyle
fn as_ref(&self) -> &ElementCSSInlineStyle
Source§impl AsRef<ElementCSSInlineStyle> for HTMLMediaElement
impl AsRef<ElementCSSInlineStyle> for HTMLMediaElement
Source§fn as_ref(&self) -> &ElementCSSInlineStyle
fn as_ref(&self) -> &ElementCSSInlineStyle
Source§impl AsRef<ElementCSSInlineStyle> for HTMLMenuElement
impl AsRef<ElementCSSInlineStyle> for HTMLMenuElement
Source§fn as_ref(&self) -> &ElementCSSInlineStyle
fn as_ref(&self) -> &ElementCSSInlineStyle
Source§impl AsRef<ElementCSSInlineStyle> for HTMLMetaElement
impl AsRef<ElementCSSInlineStyle> for HTMLMetaElement
Source§fn as_ref(&self) -> &ElementCSSInlineStyle
fn as_ref(&self) -> &ElementCSSInlineStyle
Source§impl AsRef<ElementCSSInlineStyle> for HTMLMeterElement
impl AsRef<ElementCSSInlineStyle> for HTMLMeterElement
Source§fn as_ref(&self) -> &ElementCSSInlineStyle
fn as_ref(&self) -> &ElementCSSInlineStyle
Source§impl AsRef<ElementCSSInlineStyle> for HTMLModElement
impl AsRef<ElementCSSInlineStyle> for HTMLModElement
Source§fn as_ref(&self) -> &ElementCSSInlineStyle
fn as_ref(&self) -> &ElementCSSInlineStyle
Source§impl AsRef<ElementCSSInlineStyle> for HTMLOListElement
impl AsRef<ElementCSSInlineStyle> for HTMLOListElement
Source§fn as_ref(&self) -> &ElementCSSInlineStyle
fn as_ref(&self) -> &ElementCSSInlineStyle
Source§impl AsRef<ElementCSSInlineStyle> for HTMLObjectElement
impl AsRef<ElementCSSInlineStyle> for HTMLObjectElement
Source§fn as_ref(&self) -> &ElementCSSInlineStyle
fn as_ref(&self) -> &ElementCSSInlineStyle
Source§impl AsRef<ElementCSSInlineStyle> for HTMLOptGroupElement
impl AsRef<ElementCSSInlineStyle> for HTMLOptGroupElement
Source§fn as_ref(&self) -> &ElementCSSInlineStyle
fn as_ref(&self) -> &ElementCSSInlineStyle
Source§impl AsRef<ElementCSSInlineStyle> for HTMLOptionElement
impl AsRef<ElementCSSInlineStyle> for HTMLOptionElement
Source§fn as_ref(&self) -> &ElementCSSInlineStyle
fn as_ref(&self) -> &ElementCSSInlineStyle
Source§impl AsRef<ElementCSSInlineStyle> for HTMLOutputElement
impl AsRef<ElementCSSInlineStyle> for HTMLOutputElement
Source§fn as_ref(&self) -> &ElementCSSInlineStyle
fn as_ref(&self) -> &ElementCSSInlineStyle
Source§impl AsRef<ElementCSSInlineStyle> for HTMLParagraphElement
impl AsRef<ElementCSSInlineStyle> for HTMLParagraphElement
Source§fn as_ref(&self) -> &ElementCSSInlineStyle
fn as_ref(&self) -> &ElementCSSInlineStyle
Source§impl AsRef<ElementCSSInlineStyle> for HTMLParamElement
impl AsRef<ElementCSSInlineStyle> for HTMLParamElement
Source§fn as_ref(&self) -> &ElementCSSInlineStyle
fn as_ref(&self) -> &ElementCSSInlineStyle
Source§impl AsRef<ElementCSSInlineStyle> for HTMLPictureElement
impl AsRef<ElementCSSInlineStyle> for HTMLPictureElement
Source§fn as_ref(&self) -> &ElementCSSInlineStyle
fn as_ref(&self) -> &ElementCSSInlineStyle
Source§impl AsRef<ElementCSSInlineStyle> for HTMLPreElement
impl AsRef<ElementCSSInlineStyle> for HTMLPreElement
Source§fn as_ref(&self) -> &ElementCSSInlineStyle
fn as_ref(&self) -> &ElementCSSInlineStyle
Source§impl AsRef<ElementCSSInlineStyle> for HTMLProgressElement
impl AsRef<ElementCSSInlineStyle> for HTMLProgressElement
Source§fn as_ref(&self) -> &ElementCSSInlineStyle
fn as_ref(&self) -> &ElementCSSInlineStyle
Source§impl AsRef<ElementCSSInlineStyle> for HTMLQuoteElement
impl AsRef<ElementCSSInlineStyle> for HTMLQuoteElement
Source§fn as_ref(&self) -> &ElementCSSInlineStyle
fn as_ref(&self) -> &ElementCSSInlineStyle
Source§impl AsRef<ElementCSSInlineStyle> for HTMLScriptElement
impl AsRef<ElementCSSInlineStyle> for HTMLScriptElement
Source§fn as_ref(&self) -> &ElementCSSInlineStyle
fn as_ref(&self) -> &ElementCSSInlineStyle
Source§impl AsRef<ElementCSSInlineStyle> for HTMLSelectElement
impl AsRef<ElementCSSInlineStyle> for HTMLSelectElement
Source§fn as_ref(&self) -> &ElementCSSInlineStyle
fn as_ref(&self) -> &ElementCSSInlineStyle
Source§impl AsRef<ElementCSSInlineStyle> for HTMLSlotElement
impl AsRef<ElementCSSInlineStyle> for HTMLSlotElement
Source§fn as_ref(&self) -> &ElementCSSInlineStyle
fn as_ref(&self) -> &ElementCSSInlineStyle
Source§impl AsRef<ElementCSSInlineStyle> for HTMLSourceElement
impl AsRef<ElementCSSInlineStyle> for HTMLSourceElement
Source§fn as_ref(&self) -> &ElementCSSInlineStyle
fn as_ref(&self) -> &ElementCSSInlineStyle
Source§impl AsRef<ElementCSSInlineStyle> for HTMLSpanElement
impl AsRef<ElementCSSInlineStyle> for HTMLSpanElement
Source§fn as_ref(&self) -> &ElementCSSInlineStyle
fn as_ref(&self) -> &ElementCSSInlineStyle
Source§impl AsRef<ElementCSSInlineStyle> for HTMLStyleElement
impl AsRef<ElementCSSInlineStyle> for HTMLStyleElement
Source§fn as_ref(&self) -> &ElementCSSInlineStyle
fn as_ref(&self) -> &ElementCSSInlineStyle
Source§impl AsRef<ElementCSSInlineStyle> for HTMLTableCaptionElement
impl AsRef<ElementCSSInlineStyle> for HTMLTableCaptionElement
Source§fn as_ref(&self) -> &ElementCSSInlineStyle
fn as_ref(&self) -> &ElementCSSInlineStyle
Source§impl AsRef<ElementCSSInlineStyle> for HTMLTableCellElement
impl AsRef<ElementCSSInlineStyle> for HTMLTableCellElement
Source§fn as_ref(&self) -> &ElementCSSInlineStyle
fn as_ref(&self) -> &ElementCSSInlineStyle
Source§impl AsRef<ElementCSSInlineStyle> for HTMLTableColElement
impl AsRef<ElementCSSInlineStyle> for HTMLTableColElement
Source§fn as_ref(&self) -> &ElementCSSInlineStyle
fn as_ref(&self) -> &ElementCSSInlineStyle
Source§impl AsRef<ElementCSSInlineStyle> for HTMLTableDataCellElement
impl AsRef<ElementCSSInlineStyle> for HTMLTableDataCellElement
Source§fn as_ref(&self) -> &ElementCSSInlineStyle
fn as_ref(&self) -> &ElementCSSInlineStyle
Source§impl AsRef<ElementCSSInlineStyle> for HTMLTableElement
impl AsRef<ElementCSSInlineStyle> for HTMLTableElement
Source§fn as_ref(&self) -> &ElementCSSInlineStyle
fn as_ref(&self) -> &ElementCSSInlineStyle
Source§impl AsRef<ElementCSSInlineStyle> for HTMLTableHeaderCellElement
impl AsRef<ElementCSSInlineStyle> for HTMLTableHeaderCellElement
Source§fn as_ref(&self) -> &ElementCSSInlineStyle
fn as_ref(&self) -> &ElementCSSInlineStyle
Source§impl AsRef<ElementCSSInlineStyle> for HTMLTableRowElement
impl AsRef<ElementCSSInlineStyle> for HTMLTableRowElement
Source§fn as_ref(&self) -> &ElementCSSInlineStyle
fn as_ref(&self) -> &ElementCSSInlineStyle
Source§impl AsRef<ElementCSSInlineStyle> for HTMLTableSectionElement
impl AsRef<ElementCSSInlineStyle> for HTMLTableSectionElement
Source§fn as_ref(&self) -> &ElementCSSInlineStyle
fn as_ref(&self) -> &ElementCSSInlineStyle
Source§impl AsRef<ElementCSSInlineStyle> for HTMLTemplateElement
impl AsRef<ElementCSSInlineStyle> for HTMLTemplateElement
Source§fn as_ref(&self) -> &ElementCSSInlineStyle
fn as_ref(&self) -> &ElementCSSInlineStyle
Source§impl AsRef<ElementCSSInlineStyle> for HTMLTextAreaElement
impl AsRef<ElementCSSInlineStyle> for HTMLTextAreaElement
Source§fn as_ref(&self) -> &ElementCSSInlineStyle
fn as_ref(&self) -> &ElementCSSInlineStyle
Source§impl AsRef<ElementCSSInlineStyle> for HTMLTimeElement
impl AsRef<ElementCSSInlineStyle> for HTMLTimeElement
Source§fn as_ref(&self) -> &ElementCSSInlineStyle
fn as_ref(&self) -> &ElementCSSInlineStyle
Source§impl AsRef<ElementCSSInlineStyle> for HTMLTitleElement
impl AsRef<ElementCSSInlineStyle> for HTMLTitleElement
Source§fn as_ref(&self) -> &ElementCSSInlineStyle
fn as_ref(&self) -> &ElementCSSInlineStyle
Source§impl AsRef<ElementCSSInlineStyle> for HTMLTrackElement
impl AsRef<ElementCSSInlineStyle> for HTMLTrackElement
Source§fn as_ref(&self) -> &ElementCSSInlineStyle
fn as_ref(&self) -> &ElementCSSInlineStyle
Source§impl AsRef<ElementCSSInlineStyle> for HTMLUListElement
impl AsRef<ElementCSSInlineStyle> for HTMLUListElement
Source§fn as_ref(&self) -> &ElementCSSInlineStyle
fn as_ref(&self) -> &ElementCSSInlineStyle
Source§impl AsRef<ElementCSSInlineStyle> for HTMLUnknownElement
impl AsRef<ElementCSSInlineStyle> for HTMLUnknownElement
Source§fn as_ref(&self) -> &ElementCSSInlineStyle
fn as_ref(&self) -> &ElementCSSInlineStyle
Source§impl AsRef<ElementCSSInlineStyle> for HTMLVideoElement
impl AsRef<ElementCSSInlineStyle> for HTMLVideoElement
Source§fn as_ref(&self) -> &ElementCSSInlineStyle
fn as_ref(&self) -> &ElementCSSInlineStyle
Source§impl AsRef<ElementCSSInlineStyle> for MathMLElement
impl AsRef<ElementCSSInlineStyle> for MathMLElement
Source§fn as_ref(&self) -> &ElementCSSInlineStyle
fn as_ref(&self) -> &ElementCSSInlineStyle
Source§impl AsRef<ElementCSSInlineStyle> for SVGAElement
impl AsRef<ElementCSSInlineStyle> for SVGAElement
Source§fn as_ref(&self) -> &ElementCSSInlineStyle
fn as_ref(&self) -> &ElementCSSInlineStyle
Source§impl AsRef<ElementCSSInlineStyle> for SVGAnimateElement
impl AsRef<ElementCSSInlineStyle> for SVGAnimateElement
Source§fn as_ref(&self) -> &ElementCSSInlineStyle
fn as_ref(&self) -> &ElementCSSInlineStyle
Source§impl AsRef<ElementCSSInlineStyle> for SVGAnimateMotionElement
impl AsRef<ElementCSSInlineStyle> for SVGAnimateMotionElement
Source§fn as_ref(&self) -> &ElementCSSInlineStyle
fn as_ref(&self) -> &ElementCSSInlineStyle
Source§impl AsRef<ElementCSSInlineStyle> for SVGAnimateTransformElement
impl AsRef<ElementCSSInlineStyle> for SVGAnimateTransformElement
Source§fn as_ref(&self) -> &ElementCSSInlineStyle
fn as_ref(&self) -> &ElementCSSInlineStyle
Source§impl AsRef<ElementCSSInlineStyle> for SVGAnimationElement
impl AsRef<ElementCSSInlineStyle> for SVGAnimationElement
Source§fn as_ref(&self) -> &ElementCSSInlineStyle
fn as_ref(&self) -> &ElementCSSInlineStyle
Source§impl AsRef<ElementCSSInlineStyle> for SVGCircleElement
impl AsRef<ElementCSSInlineStyle> for SVGCircleElement
Source§fn as_ref(&self) -> &ElementCSSInlineStyle
fn as_ref(&self) -> &ElementCSSInlineStyle
Source§impl AsRef<ElementCSSInlineStyle> for SVGClipPathElement
impl AsRef<ElementCSSInlineStyle> for SVGClipPathElement
Source§fn as_ref(&self) -> &ElementCSSInlineStyle
fn as_ref(&self) -> &ElementCSSInlineStyle
Source§impl AsRef<ElementCSSInlineStyle> for SVGComponentTransferFunctionElement
impl AsRef<ElementCSSInlineStyle> for SVGComponentTransferFunctionElement
Source§fn as_ref(&self) -> &ElementCSSInlineStyle
fn as_ref(&self) -> &ElementCSSInlineStyle
Source§impl AsRef<ElementCSSInlineStyle> for SVGDefsElement
impl AsRef<ElementCSSInlineStyle> for SVGDefsElement
Source§fn as_ref(&self) -> &ElementCSSInlineStyle
fn as_ref(&self) -> &ElementCSSInlineStyle
Source§impl AsRef<ElementCSSInlineStyle> for SVGDescElement
impl AsRef<ElementCSSInlineStyle> for SVGDescElement
Source§fn as_ref(&self) -> &ElementCSSInlineStyle
fn as_ref(&self) -> &ElementCSSInlineStyle
Source§impl AsRef<ElementCSSInlineStyle> for SVGElement
impl AsRef<ElementCSSInlineStyle> for SVGElement
Source§fn as_ref(&self) -> &ElementCSSInlineStyle
fn as_ref(&self) -> &ElementCSSInlineStyle
Source§impl AsRef<ElementCSSInlineStyle> for SVGEllipseElement
impl AsRef<ElementCSSInlineStyle> for SVGEllipseElement
Source§fn as_ref(&self) -> &ElementCSSInlineStyle
fn as_ref(&self) -> &ElementCSSInlineStyle
Source§impl AsRef<ElementCSSInlineStyle> for SVGFEBlendElement
impl AsRef<ElementCSSInlineStyle> for SVGFEBlendElement
Source§fn as_ref(&self) -> &ElementCSSInlineStyle
fn as_ref(&self) -> &ElementCSSInlineStyle
Source§impl AsRef<ElementCSSInlineStyle> for SVGFEColorMatrixElement
impl AsRef<ElementCSSInlineStyle> for SVGFEColorMatrixElement
Source§fn as_ref(&self) -> &ElementCSSInlineStyle
fn as_ref(&self) -> &ElementCSSInlineStyle
Source§impl AsRef<ElementCSSInlineStyle> for SVGFEComponentTransferElement
impl AsRef<ElementCSSInlineStyle> for SVGFEComponentTransferElement
Source§fn as_ref(&self) -> &ElementCSSInlineStyle
fn as_ref(&self) -> &ElementCSSInlineStyle
Source§impl AsRef<ElementCSSInlineStyle> for SVGFECompositeElement
impl AsRef<ElementCSSInlineStyle> for SVGFECompositeElement
Source§fn as_ref(&self) -> &ElementCSSInlineStyle
fn as_ref(&self) -> &ElementCSSInlineStyle
Source§impl AsRef<ElementCSSInlineStyle> for SVGFEConvolveMatrixElement
impl AsRef<ElementCSSInlineStyle> for SVGFEConvolveMatrixElement
Source§fn as_ref(&self) -> &ElementCSSInlineStyle
fn as_ref(&self) -> &ElementCSSInlineStyle
Source§impl AsRef<ElementCSSInlineStyle> for SVGFEDiffuseLightingElement
impl AsRef<ElementCSSInlineStyle> for SVGFEDiffuseLightingElement
Source§fn as_ref(&self) -> &ElementCSSInlineStyle
fn as_ref(&self) -> &ElementCSSInlineStyle
Source§impl AsRef<ElementCSSInlineStyle> for SVGFEDisplacementMapElement
impl AsRef<ElementCSSInlineStyle> for SVGFEDisplacementMapElement
Source§fn as_ref(&self) -> &ElementCSSInlineStyle
fn as_ref(&self) -> &ElementCSSInlineStyle
Source§impl AsRef<ElementCSSInlineStyle> for SVGFEDistantLightElement
impl AsRef<ElementCSSInlineStyle> for SVGFEDistantLightElement
Source§fn as_ref(&self) -> &ElementCSSInlineStyle
fn as_ref(&self) -> &ElementCSSInlineStyle
Source§impl AsRef<ElementCSSInlineStyle> for SVGFEDropShadowElement
impl AsRef<ElementCSSInlineStyle> for SVGFEDropShadowElement
Source§fn as_ref(&self) -> &ElementCSSInlineStyle
fn as_ref(&self) -> &ElementCSSInlineStyle
Source§impl AsRef<ElementCSSInlineStyle> for SVGFEFloodElement
impl AsRef<ElementCSSInlineStyle> for SVGFEFloodElement
Source§fn as_ref(&self) -> &ElementCSSInlineStyle
fn as_ref(&self) -> &ElementCSSInlineStyle
Source§impl AsRef<ElementCSSInlineStyle> for SVGFEFuncAElement
impl AsRef<ElementCSSInlineStyle> for SVGFEFuncAElement
Source§fn as_ref(&self) -> &ElementCSSInlineStyle
fn as_ref(&self) -> &ElementCSSInlineStyle
Source§impl AsRef<ElementCSSInlineStyle> for SVGFEFuncBElement
impl AsRef<ElementCSSInlineStyle> for SVGFEFuncBElement
Source§fn as_ref(&self) -> &ElementCSSInlineStyle
fn as_ref(&self) -> &ElementCSSInlineStyle
Source§impl AsRef<ElementCSSInlineStyle> for SVGFEFuncGElement
impl AsRef<ElementCSSInlineStyle> for SVGFEFuncGElement
Source§fn as_ref(&self) -> &ElementCSSInlineStyle
fn as_ref(&self) -> &ElementCSSInlineStyle
Source§impl AsRef<ElementCSSInlineStyle> for SVGFEFuncRElement
impl AsRef<ElementCSSInlineStyle> for SVGFEFuncRElement
Source§fn as_ref(&self) -> &ElementCSSInlineStyle
fn as_ref(&self) -> &ElementCSSInlineStyle
Source§impl AsRef<ElementCSSInlineStyle> for SVGFEGaussianBlurElement
impl AsRef<ElementCSSInlineStyle> for SVGFEGaussianBlurElement
Source§fn as_ref(&self) -> &ElementCSSInlineStyle
fn as_ref(&self) -> &ElementCSSInlineStyle
Source§impl AsRef<ElementCSSInlineStyle> for SVGFEImageElement
impl AsRef<ElementCSSInlineStyle> for SVGFEImageElement
Source§fn as_ref(&self) -> &ElementCSSInlineStyle
fn as_ref(&self) -> &ElementCSSInlineStyle
Source§impl AsRef<ElementCSSInlineStyle> for SVGFEMergeElement
impl AsRef<ElementCSSInlineStyle> for SVGFEMergeElement
Source§fn as_ref(&self) -> &ElementCSSInlineStyle
fn as_ref(&self) -> &ElementCSSInlineStyle
Source§impl AsRef<ElementCSSInlineStyle> for SVGFEMergeNodeElement
impl AsRef<ElementCSSInlineStyle> for SVGFEMergeNodeElement
Source§fn as_ref(&self) -> &ElementCSSInlineStyle
fn as_ref(&self) -> &ElementCSSInlineStyle
Source§impl AsRef<ElementCSSInlineStyle> for SVGFEMorphologyElement
impl AsRef<ElementCSSInlineStyle> for SVGFEMorphologyElement
Source§fn as_ref(&self) -> &ElementCSSInlineStyle
fn as_ref(&self) -> &ElementCSSInlineStyle
Source§impl AsRef<ElementCSSInlineStyle> for SVGFEOffsetElement
impl AsRef<ElementCSSInlineStyle> for SVGFEOffsetElement
Source§fn as_ref(&self) -> &ElementCSSInlineStyle
fn as_ref(&self) -> &ElementCSSInlineStyle
Source§impl AsRef<ElementCSSInlineStyle> for SVGFEPointLightElement
impl AsRef<ElementCSSInlineStyle> for SVGFEPointLightElement
Source§fn as_ref(&self) -> &ElementCSSInlineStyle
fn as_ref(&self) -> &ElementCSSInlineStyle
Source§impl AsRef<ElementCSSInlineStyle> for SVGFESpecularLightingElement
impl AsRef<ElementCSSInlineStyle> for SVGFESpecularLightingElement
Source§fn as_ref(&self) -> &ElementCSSInlineStyle
fn as_ref(&self) -> &ElementCSSInlineStyle
Source§impl AsRef<ElementCSSInlineStyle> for SVGFESpotLightElement
impl AsRef<ElementCSSInlineStyle> for SVGFESpotLightElement
Source§fn as_ref(&self) -> &ElementCSSInlineStyle
fn as_ref(&self) -> &ElementCSSInlineStyle
Source§impl AsRef<ElementCSSInlineStyle> for SVGFETileElement
impl AsRef<ElementCSSInlineStyle> for SVGFETileElement
Source§fn as_ref(&self) -> &ElementCSSInlineStyle
fn as_ref(&self) -> &ElementCSSInlineStyle
Source§impl AsRef<ElementCSSInlineStyle> for SVGFETurbulenceElement
impl AsRef<ElementCSSInlineStyle> for SVGFETurbulenceElement
Source§fn as_ref(&self) -> &ElementCSSInlineStyle
fn as_ref(&self) -> &ElementCSSInlineStyle
Source§impl AsRef<ElementCSSInlineStyle> for SVGFilterElement
impl AsRef<ElementCSSInlineStyle> for SVGFilterElement
Source§fn as_ref(&self) -> &ElementCSSInlineStyle
fn as_ref(&self) -> &ElementCSSInlineStyle
Source§impl AsRef<ElementCSSInlineStyle> for SVGForeignObjectElement
impl AsRef<ElementCSSInlineStyle> for SVGForeignObjectElement
Source§fn as_ref(&self) -> &ElementCSSInlineStyle
fn as_ref(&self) -> &ElementCSSInlineStyle
Source§impl AsRef<ElementCSSInlineStyle> for SVGGElement
impl AsRef<ElementCSSInlineStyle> for SVGGElement
Source§fn as_ref(&self) -> &ElementCSSInlineStyle
fn as_ref(&self) -> &ElementCSSInlineStyle
Source§impl AsRef<ElementCSSInlineStyle> for SVGGeometryElement
impl AsRef<ElementCSSInlineStyle> for SVGGeometryElement
Source§fn as_ref(&self) -> &ElementCSSInlineStyle
fn as_ref(&self) -> &ElementCSSInlineStyle
Source§impl AsRef<ElementCSSInlineStyle> for SVGGradientElement
impl AsRef<ElementCSSInlineStyle> for SVGGradientElement
Source§fn as_ref(&self) -> &ElementCSSInlineStyle
fn as_ref(&self) -> &ElementCSSInlineStyle
Source§impl AsRef<ElementCSSInlineStyle> for SVGGraphicsElement
impl AsRef<ElementCSSInlineStyle> for SVGGraphicsElement
Source§fn as_ref(&self) -> &ElementCSSInlineStyle
fn as_ref(&self) -> &ElementCSSInlineStyle
Source§impl AsRef<ElementCSSInlineStyle> for SVGImageElement
impl AsRef<ElementCSSInlineStyle> for SVGImageElement
Source§fn as_ref(&self) -> &ElementCSSInlineStyle
fn as_ref(&self) -> &ElementCSSInlineStyle
Source§impl AsRef<ElementCSSInlineStyle> for SVGLineElement
impl AsRef<ElementCSSInlineStyle> for SVGLineElement
Source§fn as_ref(&self) -> &ElementCSSInlineStyle
fn as_ref(&self) -> &ElementCSSInlineStyle
Source§impl AsRef<ElementCSSInlineStyle> for SVGLinearGradientElement
impl AsRef<ElementCSSInlineStyle> for SVGLinearGradientElement
Source§fn as_ref(&self) -> &ElementCSSInlineStyle
fn as_ref(&self) -> &ElementCSSInlineStyle
Source§impl AsRef<ElementCSSInlineStyle> for SVGMPathElement
impl AsRef<ElementCSSInlineStyle> for SVGMPathElement
Source§fn as_ref(&self) -> &ElementCSSInlineStyle
fn as_ref(&self) -> &ElementCSSInlineStyle
Source§impl AsRef<ElementCSSInlineStyle> for SVGMarkerElement
impl AsRef<ElementCSSInlineStyle> for SVGMarkerElement
Source§fn as_ref(&self) -> &ElementCSSInlineStyle
fn as_ref(&self) -> &ElementCSSInlineStyle
Source§impl AsRef<ElementCSSInlineStyle> for SVGMaskElement
impl AsRef<ElementCSSInlineStyle> for SVGMaskElement
Source§fn as_ref(&self) -> &ElementCSSInlineStyle
fn as_ref(&self) -> &ElementCSSInlineStyle
Source§impl AsRef<ElementCSSInlineStyle> for SVGMetadataElement
impl AsRef<ElementCSSInlineStyle> for SVGMetadataElement
Source§fn as_ref(&self) -> &ElementCSSInlineStyle
fn as_ref(&self) -> &ElementCSSInlineStyle
Source§impl AsRef<ElementCSSInlineStyle> for SVGPathElement
impl AsRef<ElementCSSInlineStyle> for SVGPathElement
Source§fn as_ref(&self) -> &ElementCSSInlineStyle
fn as_ref(&self) -> &ElementCSSInlineStyle
Source§impl AsRef<ElementCSSInlineStyle> for SVGPatternElement
impl AsRef<ElementCSSInlineStyle> for SVGPatternElement
Source§fn as_ref(&self) -> &ElementCSSInlineStyle
fn as_ref(&self) -> &ElementCSSInlineStyle
Source§impl AsRef<ElementCSSInlineStyle> for SVGPolygonElement
impl AsRef<ElementCSSInlineStyle> for SVGPolygonElement
Source§fn as_ref(&self) -> &ElementCSSInlineStyle
fn as_ref(&self) -> &ElementCSSInlineStyle
Source§impl AsRef<ElementCSSInlineStyle> for SVGPolylineElement
impl AsRef<ElementCSSInlineStyle> for SVGPolylineElement
Source§fn as_ref(&self) -> &ElementCSSInlineStyle
fn as_ref(&self) -> &ElementCSSInlineStyle
Source§impl AsRef<ElementCSSInlineStyle> for SVGRadialGradientElement
impl AsRef<ElementCSSInlineStyle> for SVGRadialGradientElement
Source§fn as_ref(&self) -> &ElementCSSInlineStyle
fn as_ref(&self) -> &ElementCSSInlineStyle
Source§impl AsRef<ElementCSSInlineStyle> for SVGRectElement
impl AsRef<ElementCSSInlineStyle> for SVGRectElement
Source§fn as_ref(&self) -> &ElementCSSInlineStyle
fn as_ref(&self) -> &ElementCSSInlineStyle
Source§impl AsRef<ElementCSSInlineStyle> for SVGSVGElement
impl AsRef<ElementCSSInlineStyle> for SVGSVGElement
Source§fn as_ref(&self) -> &ElementCSSInlineStyle
fn as_ref(&self) -> &ElementCSSInlineStyle
Source§impl AsRef<ElementCSSInlineStyle> for SVGScriptElement
impl AsRef<ElementCSSInlineStyle> for SVGScriptElement
Source§fn as_ref(&self) -> &ElementCSSInlineStyle
fn as_ref(&self) -> &ElementCSSInlineStyle
Source§impl AsRef<ElementCSSInlineStyle> for SVGSetElement
impl AsRef<ElementCSSInlineStyle> for SVGSetElement
Source§fn as_ref(&self) -> &ElementCSSInlineStyle
fn as_ref(&self) -> &ElementCSSInlineStyle
Source§impl AsRef<ElementCSSInlineStyle> for SVGStopElement
impl AsRef<ElementCSSInlineStyle> for SVGStopElement
Source§fn as_ref(&self) -> &ElementCSSInlineStyle
fn as_ref(&self) -> &ElementCSSInlineStyle
Source§impl AsRef<ElementCSSInlineStyle> for SVGStyleElement
impl AsRef<ElementCSSInlineStyle> for SVGStyleElement
Source§fn as_ref(&self) -> &ElementCSSInlineStyle
fn as_ref(&self) -> &ElementCSSInlineStyle
Source§impl AsRef<ElementCSSInlineStyle> for SVGSwitchElement
impl AsRef<ElementCSSInlineStyle> for SVGSwitchElement
Source§fn as_ref(&self) -> &ElementCSSInlineStyle
fn as_ref(&self) -> &ElementCSSInlineStyle
Source§impl AsRef<ElementCSSInlineStyle> for SVGSymbolElement
impl AsRef<ElementCSSInlineStyle> for SVGSymbolElement
Source§fn as_ref(&self) -> &ElementCSSInlineStyle
fn as_ref(&self) -> &ElementCSSInlineStyle
Source§impl AsRef<ElementCSSInlineStyle> for SVGTSpanElement
impl AsRef<ElementCSSInlineStyle> for SVGTSpanElement
Source§fn as_ref(&self) -> &ElementCSSInlineStyle
fn as_ref(&self) -> &ElementCSSInlineStyle
Source§impl AsRef<ElementCSSInlineStyle> for SVGTextContentElement
impl AsRef<ElementCSSInlineStyle> for SVGTextContentElement
Source§fn as_ref(&self) -> &ElementCSSInlineStyle
fn as_ref(&self) -> &ElementCSSInlineStyle
Source§impl AsRef<ElementCSSInlineStyle> for SVGTextElement
impl AsRef<ElementCSSInlineStyle> for SVGTextElement
Source§fn as_ref(&self) -> &ElementCSSInlineStyle
fn as_ref(&self) -> &ElementCSSInlineStyle
Source§impl AsRef<ElementCSSInlineStyle> for SVGTextPathElement
impl AsRef<ElementCSSInlineStyle> for SVGTextPathElement
Source§fn as_ref(&self) -> &ElementCSSInlineStyle
fn as_ref(&self) -> &ElementCSSInlineStyle
Source§impl AsRef<ElementCSSInlineStyle> for SVGTextPositioningElement
impl AsRef<ElementCSSInlineStyle> for SVGTextPositioningElement
Source§fn as_ref(&self) -> &ElementCSSInlineStyle
fn as_ref(&self) -> &ElementCSSInlineStyle
Source§impl AsRef<ElementCSSInlineStyle> for SVGTitleElement
impl AsRef<ElementCSSInlineStyle> for SVGTitleElement
Source§fn as_ref(&self) -> &ElementCSSInlineStyle
fn as_ref(&self) -> &ElementCSSInlineStyle
Source§impl AsRef<ElementCSSInlineStyle> for SVGUseElement
impl AsRef<ElementCSSInlineStyle> for SVGUseElement
Source§fn as_ref(&self) -> &ElementCSSInlineStyle
fn as_ref(&self) -> &ElementCSSInlineStyle
Source§impl AsRef<ElementCSSInlineStyle> for SVGViewElement
impl AsRef<ElementCSSInlineStyle> for SVGViewElement
Source§fn as_ref(&self) -> &ElementCSSInlineStyle
fn as_ref(&self) -> &ElementCSSInlineStyle
Source§impl AsRef<JsObject> for ElementCSSInlineStyle
impl AsRef<JsObject> for ElementCSSInlineStyle
Source§impl AsRef<JsValue> for ElementCSSInlineStyle
impl AsRef<JsValue> for ElementCSSInlineStyle
Source§impl Clone for ElementCSSInlineStyle
impl Clone for ElementCSSInlineStyle
Source§fn clone(&self) -> ElementCSSInlineStyle
fn clone(&self) -> ElementCSSInlineStyle
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more