pub enum AnimationFillMode {
None,
Forwards,
Backwards,
Both,
}Expand description
The animation-fill-mode keyword. Controls how the animated
values apply before/after the active period.
Variants§
None
none — no fill outside the active period. Default.
Forwards
forwards — keep the final keyframe values after the
animation completes.
Backwards
backwards — apply the initial keyframe values during
animation-delay.
Both
both — forwards and backwards combined.
Trait Implementations§
Source§impl Clone for AnimationFillMode
impl Clone for AnimationFillMode
Source§fn clone(&self) -> AnimationFillMode
fn clone(&self) -> AnimationFillMode
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 moreimpl Copy for AnimationFillMode
Source§impl Debug for AnimationFillMode
impl Debug for AnimationFillMode
impl Eq for AnimationFillMode
Source§impl Hash for AnimationFillMode
impl Hash for AnimationFillMode
Source§impl PartialEq for AnimationFillMode
impl PartialEq for AnimationFillMode
Source§fn eq(&self, other: &AnimationFillMode) -> bool
fn eq(&self, other: &AnimationFillMode) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AnimationFillMode
Auto Trait Implementations§
impl Freeze for AnimationFillMode
impl RefUnwindSafe for AnimationFillMode
impl Send for AnimationFillMode
impl Sync for AnimationFillMode
impl Unpin for AnimationFillMode
impl UnsafeUnpin for AnimationFillMode
impl UnwindSafe for AnimationFillMode
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