pub struct InheritedAnimatedStyleEntry<'a> { /* private fields */ }Expand description
Inherited CSS style collection for animated styles from ancestor node.
Implementations§
Source§impl<'a> InheritedAnimatedStyleEntry<'a>
impl<'a> InheritedAnimatedStyleEntry<'a>
Sourcepub fn builder() -> InheritedAnimatedStyleEntryBuilder<'a>
pub fn builder() -> InheritedAnimatedStyleEntryBuilder<'a>
Creates a builder for this type.
Sourcepub fn animation_styles(&self) -> Option<&[CSSAnimationStyle<'a>]>
pub fn animation_styles(&self) -> Option<&[CSSAnimationStyle<'a>]>
Styles coming from the animations of the ancestor, if any, in the style inheritance chain.
Sourcepub fn transitions_style(&self) -> Option<&CSSStyle<'a>>
pub fn transitions_style(&self) -> Option<&CSSStyle<'a>>
The style coming from the transitions of the ancestor, if any, in the style inheritance chain.
Trait Implementations§
Source§impl<'a> Clone for InheritedAnimatedStyleEntry<'a>
impl<'a> Clone for InheritedAnimatedStyleEntry<'a>
Source§fn clone(&self) -> InheritedAnimatedStyleEntry<'a>
fn clone(&self) -> InheritedAnimatedStyleEntry<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'a> Debug for InheritedAnimatedStyleEntry<'a>
impl<'a> Debug for InheritedAnimatedStyleEntry<'a>
Source§impl<'a> Default for InheritedAnimatedStyleEntry<'a>
impl<'a> Default for InheritedAnimatedStyleEntry<'a>
Source§fn default() -> InheritedAnimatedStyleEntry<'a>
fn default() -> InheritedAnimatedStyleEntry<'a>
Returns the “default value” for a type. Read more
Source§impl<'de, 'a> Deserialize<'de> for InheritedAnimatedStyleEntry<'a>
impl<'de, 'a> Deserialize<'de> for InheritedAnimatedStyleEntry<'a>
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
Auto Trait Implementations§
impl<'a> Freeze for InheritedAnimatedStyleEntry<'a>
impl<'a> RefUnwindSafe for InheritedAnimatedStyleEntry<'a>
impl<'a> Send for InheritedAnimatedStyleEntry<'a>
impl<'a> Sync for InheritedAnimatedStyleEntry<'a>
impl<'a> Unpin for InheritedAnimatedStyleEntry<'a>
impl<'a> UnsafeUnpin for InheritedAnimatedStyleEntry<'a>
impl<'a> UnwindSafe for InheritedAnimatedStyleEntry<'a>
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