Struct web_sys::SvgAnimationElement
source · #[repr(transparent)]pub struct SvgAnimationElement { /* private fields */ }
Expand description
The SVGAnimationElement
object
This API requires the following crate features to be activated: SvgAnimationElement
Implementations§
source§impl SvgAnimationElement
impl SvgAnimationElement
sourcepub fn begin_element(&self) -> Result<(), JsValue>
pub fn begin_element(&self) -> Result<(), JsValue>
The beginElement()
method
This API requires the following crate features to be activated: SvgAnimationElement
source§impl SvgAnimationElement
impl SvgAnimationElement
source§impl SvgAnimationElement
impl SvgAnimationElement
sourcepub fn end_element(&self) -> Result<(), JsValue>
pub fn end_element(&self) -> Result<(), JsValue>
The endElement()
method
This API requires the following crate features to be activated: SvgAnimationElement
source§impl SvgAnimationElement
impl SvgAnimationElement
source§impl SvgAnimationElement
impl SvgAnimationElement
sourcepub fn get_current_time(&self) -> f32
pub fn get_current_time(&self) -> f32
The getCurrentTime()
method
This API requires the following crate features to be activated: SvgAnimationElement
source§impl SvgAnimationElement
impl SvgAnimationElement
sourcepub fn get_simple_duration(&self) -> Result<f32, JsValue>
pub fn get_simple_duration(&self) -> Result<f32, JsValue>
The getSimpleDuration()
method
This API requires the following crate features to be activated: SvgAnimationElement
source§impl SvgAnimationElement
impl SvgAnimationElement
sourcepub fn get_start_time(&self) -> Result<f32, JsValue>
pub fn get_start_time(&self) -> Result<f32, JsValue>
The getStartTime()
method
This API requires the following crate features to be activated: SvgAnimationElement
source§impl SvgAnimationElement
impl SvgAnimationElement
sourcepub fn target_element(&self) -> Option<SvgElement>
pub fn target_element(&self) -> Option<SvgElement>
The targetElement
getter
This API requires the following crate features to be activated: SvgAnimationElement
, SvgElement
source§impl SvgAnimationElement
impl SvgAnimationElement
sourcepub fn has_extension(&self, extension: &str) -> bool
pub fn has_extension(&self, extension: &str) -> bool
The hasExtension()
method
This API requires the following crate features to be activated: SvgAnimationElement
source§impl SvgAnimationElement
impl SvgAnimationElement
sourcepub fn required_features(&self) -> SvgStringList
pub fn required_features(&self) -> SvgStringList
The requiredFeatures
getter
This API requires the following crate features to be activated: SvgAnimationElement
, SvgStringList
source§impl SvgAnimationElement
impl SvgAnimationElement
sourcepub fn required_extensions(&self) -> SvgStringList
pub fn required_extensions(&self) -> SvgStringList
The requiredExtensions
getter
This API requires the following crate features to be activated: SvgAnimationElement
, SvgStringList
source§impl SvgAnimationElement
impl SvgAnimationElement
sourcepub fn system_language(&self) -> SvgStringList
pub fn system_language(&self) -> SvgStringList
The systemLanguage
getter
This API requires the following crate features to be activated: SvgAnimationElement
, SvgStringList
Trait Implementations§
source§impl AsRef<Element> for SvgAnimationElement
impl AsRef<Element> for SvgAnimationElement
source§impl AsRef<EventTarget> for SvgAnimationElement
impl AsRef<EventTarget> for SvgAnimationElement
source§fn as_ref(&self) -> &EventTarget
fn as_ref(&self) -> &EventTarget
source§impl AsRef<JsValue> for SvgAnimationElement
impl AsRef<JsValue> for SvgAnimationElement
source§impl AsRef<Node> for SvgAnimationElement
impl AsRef<Node> for SvgAnimationElement
source§impl AsRef<Object> for SvgAnimationElement
impl AsRef<Object> for SvgAnimationElement
source§impl AsRef<SvgAnimationElement> for SvgAnimateElement
impl AsRef<SvgAnimationElement> for SvgAnimateElement
source§fn as_ref(&self) -> &SvgAnimationElement
fn as_ref(&self) -> &SvgAnimationElement
source§impl AsRef<SvgAnimationElement> for SvgAnimateMotionElement
impl AsRef<SvgAnimationElement> for SvgAnimateMotionElement
source§fn as_ref(&self) -> &SvgAnimationElement
fn as_ref(&self) -> &SvgAnimationElement
source§impl AsRef<SvgAnimationElement> for SvgAnimateTransformElement
impl AsRef<SvgAnimationElement> for SvgAnimateTransformElement
source§fn as_ref(&self) -> &SvgAnimationElement
fn as_ref(&self) -> &SvgAnimationElement
source§impl AsRef<SvgAnimationElement> for SvgSetElement
impl AsRef<SvgAnimationElement> for SvgSetElement
source§fn as_ref(&self) -> &SvgAnimationElement
fn as_ref(&self) -> &SvgAnimationElement
source§impl AsRef<SvgElement> for SvgAnimationElement
impl AsRef<SvgElement> for SvgAnimationElement
source§fn as_ref(&self) -> &SvgElement
fn as_ref(&self) -> &SvgElement
source§impl Clone for SvgAnimationElement
impl Clone for SvgAnimationElement
source§fn clone(&self) -> SvgAnimationElement
fn clone(&self) -> SvgAnimationElement
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for SvgAnimationElement
impl Debug for SvgAnimationElement
source§impl From<JsValue> for SvgAnimationElement
impl From<JsValue> for SvgAnimationElement
source§fn from(obj: JsValue) -> SvgAnimationElement
fn from(obj: JsValue) -> SvgAnimationElement
source§impl From<SvgAnimateElement> for SvgAnimationElement
impl From<SvgAnimateElement> for SvgAnimationElement
source§fn from(obj: SvgAnimateElement) -> SvgAnimationElement
fn from(obj: SvgAnimateElement) -> SvgAnimationElement
source§impl From<SvgAnimateMotionElement> for SvgAnimationElement
impl From<SvgAnimateMotionElement> for SvgAnimationElement
source§fn from(obj: SvgAnimateMotionElement) -> SvgAnimationElement
fn from(obj: SvgAnimateMotionElement) -> SvgAnimationElement
source§impl From<SvgAnimateTransformElement> for SvgAnimationElement
impl From<SvgAnimateTransformElement> for SvgAnimationElement
source§fn from(obj: SvgAnimateTransformElement) -> SvgAnimationElement
fn from(obj: SvgAnimateTransformElement) -> SvgAnimationElement
source§impl From<SvgAnimationElement> for Element
impl From<SvgAnimationElement> for Element
source§fn from(obj: SvgAnimationElement) -> Element
fn from(obj: SvgAnimationElement) -> Element
source§impl From<SvgAnimationElement> for EventTarget
impl From<SvgAnimationElement> for EventTarget
source§fn from(obj: SvgAnimationElement) -> EventTarget
fn from(obj: SvgAnimationElement) -> EventTarget
source§impl From<SvgAnimationElement> for JsValue
impl From<SvgAnimationElement> for JsValue
source§fn from(obj: SvgAnimationElement) -> JsValue
fn from(obj: SvgAnimationElement) -> JsValue
source§impl From<SvgAnimationElement> for Node
impl From<SvgAnimationElement> for Node
source§fn from(obj: SvgAnimationElement) -> Node
fn from(obj: SvgAnimationElement) -> Node
source§impl From<SvgAnimationElement> for Object
impl From<SvgAnimationElement> for Object
source§fn from(obj: SvgAnimationElement) -> Object
fn from(obj: SvgAnimationElement) -> Object
source§impl From<SvgAnimationElement> for SvgElement
impl From<SvgAnimationElement> for SvgElement
source§fn from(obj: SvgAnimationElement) -> SvgElement
fn from(obj: SvgAnimationElement) -> SvgElement
source§impl From<SvgSetElement> for SvgAnimationElement
impl From<SvgSetElement> for SvgAnimationElement
source§fn from(obj: SvgSetElement) -> SvgAnimationElement
fn from(obj: SvgSetElement) -> SvgAnimationElement
source§impl FromWasmAbi for SvgAnimationElement
impl FromWasmAbi for SvgAnimationElement
source§impl<'a> IntoWasmAbi for &'a SvgAnimationElement
impl<'a> IntoWasmAbi for &'a SvgAnimationElement
source§impl IntoWasmAbi for SvgAnimationElement
impl IntoWasmAbi for SvgAnimationElement
source§impl JsCast for SvgAnimationElement
impl JsCast for SvgAnimationElement
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<'a> OptionIntoWasmAbi for &'a SvgAnimationElement
impl<'a> OptionIntoWasmAbi for &'a SvgAnimationElement
source§impl RefFromWasmAbi for SvgAnimationElement
impl RefFromWasmAbi for SvgAnimationElement
§type Abi = <JsValue as RefFromWasmAbi>::Abi
type Abi = <JsValue as RefFromWasmAbi>::Abi
Self
are recovered from.§type Anchor = ManuallyDrop<SvgAnimationElement>
type Anchor = ManuallyDrop<SvgAnimationElement>
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 SvgAnimationElement
impl Send for SvgAnimationElement
impl Sync for SvgAnimationElement
impl Unpin for SvgAnimationElement
impl UnwindSafe for SvgAnimationElement
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