pub struct CheatPatch {
pub address: u32,
pub value: u8,
}Expand description
A decoded cheat patch: substitute value at CPU-bus address ($bank:offset, 24-bit).
Fields§
§address: u32The 24-bit CPU-bus address ($bank:offset) this patch targets.
value: u8The substitute byte value.
Trait Implementations§
Source§impl Clone for CheatPatch
impl Clone for CheatPatch
Source§fn clone(&self) -> CheatPatch
fn clone(&self) -> CheatPatch
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 CheatPatch
impl Debug for CheatPatch
Source§impl PartialEq for CheatPatch
impl PartialEq for CheatPatch
impl Copy for CheatPatch
impl Eq for CheatPatch
impl StructuralPartialEq for CheatPatch
Auto Trait Implementations§
impl Freeze for CheatPatch
impl RefUnwindSafe for CheatPatch
impl Send for CheatPatch
impl Sync for CheatPatch
impl Unpin for CheatPatch
impl UnsafeUnpin for CheatPatch
impl UnwindSafe for CheatPatch
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.