Trait eikon3ds_core::arch::memory_access::MemoryAccessByte
source · pub trait MemoryAccessByte<T> {
// Required methods
fn read_byte(addr: u32, state: &T) -> u8;
fn write_byte(addr: u32, data: u8, state: &mut T);
}
Expand description
A component that can either read or write a byte from a memory address.
Required Methods§
sourcefn write_byte(addr: u32, data: u8, state: &mut T)
fn write_byte(addr: u32, data: u8, state: &mut T)
Writes a byte to the memory address.
Object Safety§
This trait is not object safe.