pub enum LoopState {
Frame,
Sleep,
Stopped,
}Expand description
What the loop does (the loop field of status and stats).
Variants§
Frame
Passes run (the CPU computes or keys are queued).
Sleep
The CPU sleeps until a timer event.
Stopped
Nothing runs (no machine, paused, halted, hidden while computing, or a send drives the machine).
Trait Implementations§
impl Copy for LoopState
impl Eq for LoopState
impl StructuralPartialEq for LoopState
Auto Trait Implementations§
impl Forget for LoopState
impl Freeze for LoopState
impl Move for LoopState
impl RefUnwindSafe for LoopState
impl Send for LoopState
impl Sync for LoopState
impl Unpin for LoopState
impl UnsafeUnpin for LoopState
impl UnwindSafe for LoopState
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