pub enum AnimationControl {
Stop,
Loading,
Run,
}Expand description
Animation control commands
Variants§
Stop
Stop the animation
Loading
Run in loading mode (wait for more frames at end)
Run
Run normally (loop at end)
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§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AnimationControl
impl Debug for AnimationControl
Source§impl Display for AnimationControl
impl Display 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 UnsafeUnpin 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