pub enum SingleAnimationComposition {
Replace(Ident),
Add(Ident),
Accumulate(Ident),
}Expand description
https://drafts.csswg.org/css-animations-2/#typedef-single-animation-composition
<single-animation-composition> = replace | add | accumulateVariants§
Trait Implementations§
Source§impl Clone for SingleAnimationComposition
impl Clone for SingleAnimationComposition
Source§fn clone(&self) -> SingleAnimationComposition
fn clone(&self) -> SingleAnimationComposition
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 Debug for SingleAnimationComposition
impl Debug for SingleAnimationComposition
Source§impl From<SingleAnimationComposition> for Cursor
impl From<SingleAnimationComposition> for Cursor
Source§fn from(value: SingleAnimationComposition) -> Cursor
fn from(value: SingleAnimationComposition) -> Cursor
Converts to this type from the input type.
Source§impl From<SingleAnimationComposition> for Token
impl From<SingleAnimationComposition> for Token
Source§fn from(value: SingleAnimationComposition) -> Token
fn from(value: SingleAnimationComposition) -> Token
Converts to this type from the input type.
Source§impl Hash for SingleAnimationComposition
impl Hash for SingleAnimationComposition
Source§impl NodeWithMetadata<CssMetadata> for SingleAnimationComposition
impl NodeWithMetadata<CssMetadata> for SingleAnimationComposition
Source§fn self_metadata(&self) -> CssMetadata
fn self_metadata(&self) -> CssMetadata
Returns the metadata contributed by this node itself, not including children.
Most nodes don’t contribute metadata, so can simply return
M::default().
Nodes like StyleRule or AtRules should return their own node kind flags here.Source§fn metadata(&self) -> CssMetadata
fn metadata(&self) -> CssMetadata
Returns the complete aggregated metadata for this node (self + children).
Default implementation merges children’s metadata with self_metadata().
Source§impl Ord for SingleAnimationComposition
impl Ord for SingleAnimationComposition
Source§fn cmp(&self, other: &SingleAnimationComposition) -> Ordering
fn cmp(&self, other: &SingleAnimationComposition) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl<'a> Parse<'a> for SingleAnimationComposition
impl<'a> Parse<'a> for SingleAnimationComposition
Source§impl PartialOrd for SingleAnimationComposition
impl PartialOrd for SingleAnimationComposition
Source§impl<'a> Peek<'a> for SingleAnimationComposition
impl<'a> Peek<'a> for SingleAnimationComposition
Source§impl SemanticEq for SingleAnimationComposition
impl SemanticEq for SingleAnimationComposition
Source§fn semantic_eq(&self, other: &Self) -> bool
fn semantic_eq(&self, other: &Self) -> bool
Returns
true if self and other are semantically equal.Source§impl ToCursors for SingleAnimationComposition
impl ToCursors for SingleAnimationComposition
fn to_cursors(&self, s: &mut impl CursorSink)
impl Copy for SingleAnimationComposition
impl Eq for SingleAnimationComposition
impl StructuralPartialEq for SingleAnimationComposition
Auto Trait Implementations§
impl Freeze for SingleAnimationComposition
impl RefUnwindSafe for SingleAnimationComposition
impl Send for SingleAnimationComposition
impl Sync for SingleAnimationComposition
impl Unpin for SingleAnimationComposition
impl UnwindSafe for SingleAnimationComposition
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