pub struct Memory64K { /* private fields */ }Implementations§
Source§impl Memory64K
impl Memory64K
pub const SIZE: usize = 65_536
pub fn read(&self, address: u16) -> u8
pub fn write(&mut self, address: u16, value: u8)
pub fn read_word(&self, address: u16) -> u16
pub fn as_slice(&self) -> &[u8] ⓘ
pub fn as_mut_slice(&mut self) -> &mut [u8] ⓘ
pub fn clear(&mut self)
Trait Implementations§
impl Eq for Memory64K
impl StructuralPartialEq for Memory64K
Auto Trait Implementations§
impl Freeze for Memory64K
impl RefUnwindSafe for Memory64K
impl Send for Memory64K
impl Sync for Memory64K
impl Unpin for Memory64K
impl UnsafeUnpin for Memory64K
impl UnwindSafe for Memory64K
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