#[repr(u8)]pub enum PINECommand {
Show 17 variants
MsgRead8 {
mem: u32,
},
MsgRead16 {
mem: u32,
},
MsgRead32 {
mem: u32,
},
MsgRead64 {
mem: u32,
},
MsgWrite8 {
mem: u32,
val: u8,
},
MsgWrite16 {
mem: u32,
val: u16,
},
MsgWrite32 {
mem: u32,
val: u32,
},
MsgWrite64 {
mem: u32,
val: u64,
},
MsgVersion = 8,
MsgSaveState {
sta: u8,
},
MsgLoadState {
sta: u8,
},
MsgTitle = 11,
MsgID = 12,
MsgUUID = 13,
MsgGameVersion = 14,
MsgStatus = 15,
MsgUnimplemented = 255,
}Variants§
MsgRead8
MsgRead16
MsgRead32
MsgRead64
MsgWrite8
MsgWrite16
MsgWrite32
MsgWrite64
MsgVersion = 8
MsgSaveState
MsgLoadState
MsgTitle = 11
MsgID = 12
MsgUUID = 13
MsgGameVersion = 14
MsgStatus = 15
MsgUnimplemented = 255
Trait Implementations§
Source§impl Clone for PINECommand
impl Clone for PINECommand
Source§fn clone(&self) -> PINECommand
fn clone(&self) -> PINECommand
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 PINECommand
impl Debug for PINECommand
Source§impl Display for PINECommand
impl Display for PINECommand
Source§impl FromIterator<PINECommand> for PINEBatch
impl FromIterator<PINECommand> for PINEBatch
Source§fn from_iter<T: IntoIterator<Item = PINECommand>>(iter: T) -> Self
fn from_iter<T: IntoIterator<Item = PINECommand>>(iter: T) -> Self
Creates a value from an iterator. Read more
Source§impl Into<u8> for PINECommand
impl Into<u8> for PINECommand
impl Copy for PINECommand
Auto Trait Implementations§
impl Freeze for PINECommand
impl RefUnwindSafe for PINECommand
impl Send for PINECommand
impl Sync for PINECommand
impl Unpin for PINECommand
impl UnwindSafe for PINECommand
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