pub enum FillMode {
None,
Forwards,
Backwards,
Both,
}Expand description
Fill mode for an animation (what values apply before/after the animation).
Variants§
None
No fill: default values apply before and after.
Forwards
After the animation ends, hold the final keyframe values.
Backwards
Before the animation starts (during delay), apply the first keyframe.
Both
Combination of Forwards and Backwards.
Trait Implementations§
impl Copy for FillMode
impl Eq for FillMode
impl StructuralPartialEq for FillMode
Auto Trait Implementations§
impl Freeze for FillMode
impl RefUnwindSafe for FillMode
impl Send for FillMode
impl Sync for FillMode
impl Unpin for FillMode
impl UnsafeUnpin for FillMode
impl UnwindSafe for FillMode
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