Struct web_sys::SvgaElement
source · #[repr(transparent)]pub struct SvgaElement { /* private fields */ }
Expand description
The SVGAElement
object
This API requires the following crate features to be activated: SvgaElement
Implementations§
source§impl SvgaElement
impl SvgaElement
sourcepub fn target(&self) -> SvgAnimatedString
pub fn target(&self) -> SvgAnimatedString
The target
getter
This API requires the following crate features to be activated: SvgAnimatedString
, SvgaElement
source§impl SvgaElement
impl SvgaElement
source§impl SvgaElement
impl SvgaElement
sourcepub fn set_download(&self, download: &str)
pub fn set_download(&self, download: &str)
The download
setter
This API requires the following crate features to be activated: SvgaElement
source§impl SvgaElement
impl SvgaElement
source§impl SvgaElement
impl SvgaElement
source§impl SvgaElement
impl SvgaElement
source§impl SvgaElement
impl SvgaElement
source§impl SvgaElement
impl SvgaElement
sourcepub fn referrer_policy(&self) -> String
pub fn referrer_policy(&self) -> String
The referrerPolicy
getter
This API requires the following crate features to be activated: SvgaElement
source§impl SvgaElement
impl SvgaElement
sourcepub fn set_referrer_policy(&self, referrer_policy: &str)
pub fn set_referrer_policy(&self, referrer_policy: &str)
The referrerPolicy
setter
This API requires the following crate features to be activated: SvgaElement
source§impl SvgaElement
impl SvgaElement
sourcepub fn rel_list(&self) -> DomTokenList
pub fn rel_list(&self) -> DomTokenList
The relList
getter
This API requires the following crate features to be activated: DomTokenList
, SvgaElement
source§impl SvgaElement
impl SvgaElement
source§impl SvgaElement
impl SvgaElement
sourcepub fn set_hreflang(&self, hreflang: &str)
pub fn set_hreflang(&self, hreflang: &str)
The hreflang
setter
This API requires the following crate features to be activated: SvgaElement
source§impl SvgaElement
impl SvgaElement
source§impl SvgaElement
impl SvgaElement
source§impl SvgaElement
impl SvgaElement
source§impl SvgaElement
impl SvgaElement
source§impl SvgaElement
impl SvgaElement
sourcepub fn href(&self) -> SvgAnimatedString
pub fn href(&self) -> SvgAnimatedString
The href
getter
This API requires the following crate features to be activated: SvgAnimatedString
, SvgaElement
Trait Implementations§
source§impl AsRef<Element> for SvgaElement
impl AsRef<Element> for SvgaElement
source§impl AsRef<EventTarget> for SvgaElement
impl AsRef<EventTarget> for SvgaElement
source§fn as_ref(&self) -> &EventTarget
fn as_ref(&self) -> &EventTarget
source§impl AsRef<JsValue> for SvgaElement
impl AsRef<JsValue> for SvgaElement
source§impl AsRef<Node> for SvgaElement
impl AsRef<Node> for SvgaElement
source§impl AsRef<Object> for SvgaElement
impl AsRef<Object> for SvgaElement
source§impl AsRef<SvgElement> for SvgaElement
impl AsRef<SvgElement> for SvgaElement
source§fn as_ref(&self) -> &SvgElement
fn as_ref(&self) -> &SvgElement
source§impl AsRef<SvgGraphicsElement> for SvgaElement
impl AsRef<SvgGraphicsElement> for SvgaElement
source§fn as_ref(&self) -> &SvgGraphicsElement
fn as_ref(&self) -> &SvgGraphicsElement
source§impl Clone for SvgaElement
impl Clone for SvgaElement
source§fn clone(&self) -> SvgaElement
fn clone(&self) -> SvgaElement
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for SvgaElement
impl Debug for SvgaElement
source§impl From<JsValue> for SvgaElement
impl From<JsValue> for SvgaElement
source§fn from(obj: JsValue) -> SvgaElement
fn from(obj: JsValue) -> SvgaElement
source§impl From<SvgaElement> for Element
impl From<SvgaElement> for Element
source§fn from(obj: SvgaElement) -> Element
fn from(obj: SvgaElement) -> Element
source§impl From<SvgaElement> for EventTarget
impl From<SvgaElement> for EventTarget
source§fn from(obj: SvgaElement) -> EventTarget
fn from(obj: SvgaElement) -> EventTarget
source§impl From<SvgaElement> for JsValue
impl From<SvgaElement> for JsValue
source§fn from(obj: SvgaElement) -> JsValue
fn from(obj: SvgaElement) -> JsValue
source§impl From<SvgaElement> for Node
impl From<SvgaElement> for Node
source§fn from(obj: SvgaElement) -> Node
fn from(obj: SvgaElement) -> Node
source§impl From<SvgaElement> for Object
impl From<SvgaElement> for Object
source§fn from(obj: SvgaElement) -> Object
fn from(obj: SvgaElement) -> Object
source§impl From<SvgaElement> for SvgElement
impl From<SvgaElement> for SvgElement
source§fn from(obj: SvgaElement) -> SvgElement
fn from(obj: SvgaElement) -> SvgElement
source§impl From<SvgaElement> for SvgGraphicsElement
impl From<SvgaElement> for SvgGraphicsElement
source§fn from(obj: SvgaElement) -> SvgGraphicsElement
fn from(obj: SvgaElement) -> SvgGraphicsElement
source§impl FromWasmAbi for SvgaElement
impl FromWasmAbi for SvgaElement
source§impl<'a> IntoWasmAbi for &'a SvgaElement
impl<'a> IntoWasmAbi for &'a SvgaElement
source§impl IntoWasmAbi for SvgaElement
impl IntoWasmAbi for SvgaElement
source§impl JsCast for SvgaElement
impl JsCast for SvgaElement
source§fn instanceof(val: &JsValue) -> bool
fn instanceof(val: &JsValue) -> bool
instanceof
check to see whether the JsValue
provided is an instance of this type. Read moresource§fn unchecked_from_js(val: JsValue) -> Self
fn unchecked_from_js(val: JsValue) -> Self
source§fn unchecked_from_js_ref(val: &JsValue) -> &Self
fn unchecked_from_js_ref(val: &JsValue) -> &Self
source§fn is_instance_of<T>(&self) -> boolwhere
T: JsCast,
fn is_instance_of<T>(&self) -> boolwhere
T: JsCast,
T
. Read moresource§fn dyn_into<T>(self) -> Result<T, Self>where
T: JsCast,
fn dyn_into<T>(self) -> Result<T, Self>where
T: JsCast,
T
. Read moresource§fn dyn_ref<T>(&self) -> Option<&T>where
T: JsCast,
fn dyn_ref<T>(&self) -> Option<&T>where
T: JsCast,
T
. Read moresource§fn unchecked_into<T>(self) -> Twhere
T: JsCast,
fn unchecked_into<T>(self) -> Twhere
T: JsCast,
source§impl OptionFromWasmAbi for SvgaElement
impl OptionFromWasmAbi for SvgaElement
source§impl<'a> OptionIntoWasmAbi for &'a SvgaElement
impl<'a> OptionIntoWasmAbi for &'a SvgaElement
source§impl OptionIntoWasmAbi for SvgaElement
impl OptionIntoWasmAbi for SvgaElement
source§impl RefFromWasmAbi for SvgaElement
impl RefFromWasmAbi for SvgaElement
§type Abi = <JsValue as RefFromWasmAbi>::Abi
type Abi = <JsValue as RefFromWasmAbi>::Abi
Self
are recovered from.§type Anchor = ManuallyDrop<SvgaElement>
type Anchor = ManuallyDrop<SvgaElement>
Self
for the duration of the
invocation of the function that has an &Self
parameter. This is
required to ensure that the lifetimes don’t persist beyond one function
call, and so that they remain anonymous. Read moreAuto Trait Implementations§
impl RefUnwindSafe for SvgaElement
impl Send for SvgaElement
impl Sync for SvgaElement
impl Unpin for SvgaElement
impl UnwindSafe for SvgaElement
Blanket Implementations§
source§impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
§type Abi = <T as IntoWasmAbi>::Abi
type Abi = <T as IntoWasmAbi>::Abi
IntoWasmAbi::Abi
source§fn return_abi(self, extra: &mut dyn Stack) -> <T as ReturnWasmAbi>::Abi
fn return_abi(self, extra: &mut dyn Stack) -> <T as ReturnWasmAbi>::Abi
IntoWasmAbi::into_abi
, except that it may throw and never
return in the case of Err
. Read more