pub enum EngineMode {
Disabled = 0,
LoadProgram = 1,
RunProgram = 2,
Halt = 3,
}Expand description
Engine modes (i.e. state).
Variants§
Trait Implementations§
Source§impl Clone for EngineMode
impl Clone for EngineMode
Source§fn clone(&self) -> EngineMode
fn clone(&self) -> EngineMode
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 EngineMode
impl Debug for EngineMode
Source§impl PartialEq for EngineMode
impl PartialEq for EngineMode
impl Copy for EngineMode
impl Eq for EngineMode
impl StructuralPartialEq for EngineMode
Auto Trait Implementations§
impl Freeze for EngineMode
impl RefUnwindSafe for EngineMode
impl Send for EngineMode
impl Sync for EngineMode
impl Unpin for EngineMode
impl UnwindSafe for EngineMode
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