pub enum SingleAnimationDirection {
Normal(Ident),
Reverse(Ident),
Alternate(Ident),
AlternateReverse(Ident),
}Expand description
https://drafts.csswg.org/css-animations/#typedef-single-animation-direction
<single-animation-direction> = normal | reverse | alternate | alternate-reverseVariants§
Trait Implementations§
Source§impl Clone for SingleAnimationDirection
impl Clone for SingleAnimationDirection
Source§fn clone(&self) -> SingleAnimationDirection
fn clone(&self) -> SingleAnimationDirection
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 SingleAnimationDirection
impl Debug for SingleAnimationDirection
Source§impl From<SingleAnimationDirection> for Cursor
impl From<SingleAnimationDirection> for Cursor
Source§fn from(value: SingleAnimationDirection) -> Cursor
fn from(value: SingleAnimationDirection) -> Cursor
Converts to this type from the input type.
Source§impl From<SingleAnimationDirection> for Token
impl From<SingleAnimationDirection> for Token
Source§fn from(value: SingleAnimationDirection) -> Token
fn from(value: SingleAnimationDirection) -> Token
Converts to this type from the input type.
Source§impl Hash for SingleAnimationDirection
impl Hash for SingleAnimationDirection
Source§impl Ord for SingleAnimationDirection
impl Ord for SingleAnimationDirection
Source§fn cmp(&self, other: &SingleAnimationDirection) -> Ordering
fn cmp(&self, other: &SingleAnimationDirection) -> 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 SingleAnimationDirection
impl<'a> Parse<'a> for SingleAnimationDirection
Source§impl PartialEq for SingleAnimationDirection
impl PartialEq for SingleAnimationDirection
Source§impl PartialOrd for SingleAnimationDirection
impl PartialOrd for SingleAnimationDirection
Source§impl<'a> Peek<'a> for SingleAnimationDirection
impl<'a> Peek<'a> for SingleAnimationDirection
Source§impl ToCursors for SingleAnimationDirection
impl ToCursors for SingleAnimationDirection
fn to_cursors(&self, s: &mut impl CursorSink)
impl Copy for SingleAnimationDirection
impl Eq for SingleAnimationDirection
impl StructuralPartialEq for SingleAnimationDirection
Auto Trait Implementations§
impl Freeze for SingleAnimationDirection
impl RefUnwindSafe for SingleAnimationDirection
impl Send for SingleAnimationDirection
impl Sync for SingleAnimationDirection
impl Unpin for SingleAnimationDirection
impl UnwindSafe for SingleAnimationDirection
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