Struct dioxus::prelude::SerializedAnimationData
source · pub struct SerializedAnimationData { /* private fields */ }
Available on crate feature
html
only.Expand description
A serialized version of AnimationData
Trait Implementations§
source§impl Clone for SerializedAnimationData
impl Clone for SerializedAnimationData
source§fn clone(&self) -> SerializedAnimationData
fn clone(&self) -> SerializedAnimationData
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for SerializedAnimationData
impl Debug for SerializedAnimationData
source§impl<'de> Deserialize<'de> for SerializedAnimationData
impl<'de> Deserialize<'de> for SerializedAnimationData
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<SerializedAnimationData, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<SerializedAnimationData, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl From<&AnimationData> for SerializedAnimationData
impl From<&AnimationData> for SerializedAnimationData
source§fn from(data: &AnimationData) -> SerializedAnimationData
fn from(data: &AnimationData) -> SerializedAnimationData
Converts to this type from the input type.
source§impl HasAnimationData for SerializedAnimationData
impl HasAnimationData for SerializedAnimationData
source§fn animation_name(&self) -> String
fn animation_name(&self) -> String
The name of the animation
source§fn pseudo_element(&self) -> String
fn pseudo_element(&self) -> String
The name of the pseudo-element the animation runs on
source§fn elapsed_time(&self) -> f32
fn elapsed_time(&self) -> f32
The amount of time the animation has been running
source§impl PartialEq for SerializedAnimationData
impl PartialEq for SerializedAnimationData
source§fn eq(&self, other: &SerializedAnimationData) -> bool
fn eq(&self, other: &SerializedAnimationData) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for SerializedAnimationData
impl Serialize for SerializedAnimationData
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for SerializedAnimationData
Auto Trait Implementations§
impl Freeze for SerializedAnimationData
impl RefUnwindSafe for SerializedAnimationData
impl Send for SerializedAnimationData
impl Sync for SerializedAnimationData
impl Unpin for SerializedAnimationData
impl UnwindSafe for SerializedAnimationData
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T, O> SuperFrom<T> for Owhere
O: From<T>,
impl<T, O> SuperFrom<T> for Owhere
O: From<T>,
source§fn super_from(input: T) -> O
fn super_from(input: T) -> O
Convert from a type to another type.
source§impl<T, O, M> SuperInto<O, M> for Twhere
O: SuperFrom<T, M>,
impl<T, O, M> SuperInto<O, M> for Twhere
O: SuperFrom<T, M>,
source§fn super_into(self) -> O
fn super_into(self) -> O
Convert from a type to another type.
source§impl<Cfg> TryIntoConfig for Cfg
impl<Cfg> TryIntoConfig for Cfg
source§fn into_config(self) -> Option<Cfg>
fn into_config(self) -> Option<Cfg>
Available on crate feature
launch
only.