pub struct WrittenBlock {
pub pcoffset: i32,
pub snesoffset: i32,
pub numbytes: i32,
}Expand description
Represents a block of data written to the ROM by Asar as a consequence of a call to asar_patch or asar_patch_ex. It has the PC offset, the SNES offset and the number of bytes written.
Fields§
§pcoffset: i32§snesoffset: i32§numbytes: i32Trait Implementations§
Source§impl Clone for WrittenBlock
impl Clone for WrittenBlock
Source§fn clone(&self) -> WrittenBlock
fn clone(&self) -> WrittenBlock
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 moreAuto Trait Implementations§
impl Freeze for WrittenBlock
impl RefUnwindSafe for WrittenBlock
impl Send for WrittenBlock
impl Sync for WrittenBlock
impl Unpin for WrittenBlock
impl UnwindSafe for WrittenBlock
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