pub enum CoreCommand {
Reset,
SetControllerState {
port: usize,
state: ControllerState,
},
RunFrame,
StepCpuInstruction,
}Variants§
Trait Implementations§
Source§impl Clone for CoreCommand
impl Clone for CoreCommand
Source§fn clone(&self) -> CoreCommand
fn clone(&self) -> CoreCommand
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CoreCommand
impl Debug for CoreCommand
impl Eq for CoreCommand
Source§impl PartialEq for CoreCommand
impl PartialEq for CoreCommand
Source§fn eq(&self, other: &CoreCommand) -> bool
fn eq(&self, other: &CoreCommand) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CoreCommand
Auto Trait Implementations§
impl Freeze for CoreCommand
impl RefUnwindSafe for CoreCommand
impl Send for CoreCommand
impl Sync for CoreCommand
impl Unpin for CoreCommand
impl UnsafeUnpin for CoreCommand
impl UnwindSafe for CoreCommand
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