#[repr(u8)]pub enum AnimationControl {
PauseResume = 0,
ForwardOne = 1,
Forward = 2,
Stop = 3,
Reset = 4,
WipePause = 5,
Pause = 6,
Clear = 7,
}
Variants§
PauseResume = 0
Toggles between pause/resume Only pauses if the state is either Forward or ForwardOne
ForwardOne = 1
Iterate a single frame
Forward = 2
Play animations
Stop = 3
Stop all animations and clear all state
Reset = 4
Restarts all animations
WipePause = 5
Pause all animations and clear all pixel state
Pause = 6
Pause
Clear = 7
Clear all pixels (does not stop or pause)
Trait Implementations§
Source§impl Clone for AnimationControl
impl Clone for AnimationControl
Source§fn clone(&self) -> AnimationControl
fn clone(&self) -> AnimationControl
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for AnimationControl
impl Debug for AnimationControl
Source§impl Hash for AnimationControl
impl Hash for AnimationControl
Source§impl PartialEq for AnimationControl
impl PartialEq for AnimationControl
impl Copy for AnimationControl
impl Eq for AnimationControl
impl StructuralPartialEq for AnimationControl
Auto Trait Implementations§
impl Freeze for AnimationControl
impl RefUnwindSafe for AnimationControl
impl Send for AnimationControl
impl Sync for AnimationControl
impl Unpin for AnimationControl
impl UnwindSafe for AnimationControl
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