pub struct GetAnimatedStylesForNodeResult {
pub animation_styles: Option<Vec<CssAnimationStyle>>,
pub transitions_style: Option<CssStyle>,
pub inherited: Option<Vec<InheritedAnimatedStyleEntry>>,
}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.
Trait Implementations§
Source§impl Clone for GetAnimatedStylesForNodeResult
impl Clone for GetAnimatedStylesForNodeResult
Source§fn clone(&self) -> GetAnimatedStylesForNodeResult
fn clone(&self) -> GetAnimatedStylesForNodeResult
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 GetAnimatedStylesForNodeResult
impl Default for GetAnimatedStylesForNodeResult
Source§fn default() -> GetAnimatedStylesForNodeResult
fn default() -> GetAnimatedStylesForNodeResult
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GetAnimatedStylesForNodeResult
impl<'de> Deserialize<'de> for GetAnimatedStylesForNodeResult
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for GetAnimatedStylesForNodeResult
impl PartialEq for GetAnimatedStylesForNodeResult
Source§fn eq(&self, other: &GetAnimatedStylesForNodeResult) -> bool
fn eq(&self, other: &GetAnimatedStylesForNodeResult) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for GetAnimatedStylesForNodeResult
Auto Trait Implementations§
impl Freeze for GetAnimatedStylesForNodeResult
impl RefUnwindSafe for GetAnimatedStylesForNodeResult
impl Send for GetAnimatedStylesForNodeResult
impl Sync for GetAnimatedStylesForNodeResult
impl Unpin for GetAnimatedStylesForNodeResult
impl UnsafeUnpin for GetAnimatedStylesForNodeResult
impl UnwindSafe for GetAnimatedStylesForNodeResult
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