Enum kll_core::pixel::AnimationControl
source · #[repr(u8)]
pub enum AnimationControl {
PauseResume,
ForwardOne,
Forward,
Stop,
Reset,
WipePause,
Pause,
Clear,
}
Variants
PauseResume
Toggles between pause/resume Only pauses if the state is either Forward or ForwardOne
ForwardOne
Iterate a single frame
Forward
Play animations
Stop
Stop all animations and clear all state
Reset
Restarts all animations
WipePause
Pause all animations and clear all pixel state
Pause
Pause
Clear
Clear all pixels (does not stop or pause)
Trait Implementations
sourceimpl Clone for AnimationControl
impl Clone for AnimationControl
sourcefn clone(&self) -> AnimationControl
fn clone(&self) -> AnimationControl
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for AnimationControl
impl Debug for AnimationControl
sourceimpl Hash for AnimationControl
impl Hash for AnimationControl
sourceimpl PartialEq<AnimationControl> for AnimationControl
impl PartialEq<AnimationControl> for AnimationControl
sourcefn eq(&self, other: &AnimationControl) -> bool
fn eq(&self, other: &AnimationControl) -> bool
impl Copy for AnimationControl
impl Eq for AnimationControl
impl StructuralEq for AnimationControl
impl StructuralPartialEq for AnimationControl
Auto Trait Implementations
impl RefUnwindSafe for AnimationControl
impl Send for AnimationControl
impl Sync for AnimationControl
impl Unpin for AnimationControl
impl UnwindSafe for AnimationControl
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more