pub struct GetAnimatedStylesForNodeReturns {
pub animation_styles: Option<Vec<CssAnimationStyle>>,
pub transitions_style: Option<CssStyle>,
pub inherited: Option<Vec<InheritedAnimatedStyleEntry>>,
}Expand description
Returns the styles coming from animations & transitions including the animation & transition styles coming from inheritance chain. getAnimatedStylesForNode
Fields§
§animation_styles: Option<Vec<CssAnimationStyle>>Styles coming from animations.
transitions_style: Option<CssStyle>Style coming from transitions.
inherited: Option<Vec<InheritedAnimatedStyleEntry>>Inherited style entries for animationsStyle and transitionsStyle from the inheritance chain of the element.
Implementations§
Trait Implementations§
Source§impl Clone for GetAnimatedStylesForNodeReturns
impl Clone for GetAnimatedStylesForNodeReturns
Source§fn clone(&self) -> GetAnimatedStylesForNodeReturns
fn clone(&self) -> GetAnimatedStylesForNodeReturns
Returns a duplicate 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 Default for GetAnimatedStylesForNodeReturns
impl Default for GetAnimatedStylesForNodeReturns
Source§fn default() -> GetAnimatedStylesForNodeReturns
fn default() -> GetAnimatedStylesForNodeReturns
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GetAnimatedStylesForNodeReturns
impl<'de> Deserialize<'de> for GetAnimatedStylesForNodeReturns
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<GetAnimatedStylesForNodeReturns, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<GetAnimatedStylesForNodeReturns, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for GetAnimatedStylesForNodeReturns
impl PartialEq for GetAnimatedStylesForNodeReturns
Source§fn eq(&self, other: &GetAnimatedStylesForNodeReturns) -> bool
fn eq(&self, other: &GetAnimatedStylesForNodeReturns) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for GetAnimatedStylesForNodeReturns
impl Serialize for GetAnimatedStylesForNodeReturns
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 GetAnimatedStylesForNodeReturns
Auto Trait Implementations§
impl Freeze for GetAnimatedStylesForNodeReturns
impl RefUnwindSafe for GetAnimatedStylesForNodeReturns
impl Send for GetAnimatedStylesForNodeReturns
impl Sync for GetAnimatedStylesForNodeReturns
impl Unpin for GetAnimatedStylesForNodeReturns
impl UnwindSafe for GetAnimatedStylesForNodeReturns
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