[−][src]Trait spectrusty::chip::MemoryAccess
A trait for directly accessing an emulated memory implementation and memory extensions.
Associated Types
Loading content...Required methods
pub fn memory_ext_ref(&self) -> &Self::MemoryExt
[src]
Returns a read-only reference to the memory extension.
pub fn memory_ext_mut(&mut self) -> &mut Self::MemoryExt
[src]
Returns a mutable reference to the memory extension.
pub fn memory_ref(&self) -> &Self::Memory
[src]
Returns a reference to the memory.
pub fn memory_mut(&mut self) -> &mut Self::Memory
[src]
Returns a mutable reference to the memory.
pub fn memory_with_ext_mut(
&mut self
) -> (&mut Self::Memory, &mut Self::MemoryExt)
[src]
&mut self
) -> (&mut Self::Memory, &mut Self::MemoryExt)
Returns mutable references to both the memory and the memory extension.
Implementors
impl<B, X> MemoryAccess for Ula3<B, X> where
X: MemoryExtension,
[src]
X: MemoryExtension,
type Memory = Memory128kPlus
type MemoryExt = X
pub fn memory_ext_ref(&self) -> &Self::MemoryExt
[src]
pub fn memory_ext_mut(&mut self) -> &mut Self::MemoryExt
[src]
pub fn memory_mut(&mut self) -> &mut Self::Memory
[src]
pub fn memory_ref(&self) -> &Self::Memory
[src]
pub fn memory_with_ext_mut(
&mut self
) -> (&mut Self::Memory, &mut Self::MemoryExt)
[src]
&mut self
) -> (&mut Self::Memory, &mut Self::MemoryExt)
impl<B, X> MemoryAccess for Ula128<B, X> where
X: MemoryExtension,
[src]
X: MemoryExtension,
type Memory = Memory128k
type MemoryExt = X
pub fn memory_ext_ref(&self) -> &Self::MemoryExt
[src]
pub fn memory_ext_mut(&mut self) -> &mut Self::MemoryExt
[src]
pub fn memory_mut(&mut self) -> &mut Self::Memory
[src]
pub fn memory_ref(&self) -> &Self::Memory
[src]
pub fn memory_with_ext_mut(
&mut self
) -> (&mut Self::Memory, &mut Self::MemoryExt)
[src]
&mut self
) -> (&mut Self::Memory, &mut Self::MemoryExt)
impl<M, B, X, V> MemoryAccess for Scld<M, B, X, V> where
M: PagedMemory8k,
X: MemoryExtension,
[src]
M: PagedMemory8k,
X: MemoryExtension,
type Memory = M
type MemoryExt = X
pub fn memory_ext_ref(&self) -> &Self::MemoryExt
[src]
pub fn memory_ext_mut(&mut self) -> &mut Self::MemoryExt
[src]
pub fn memory_mut(&mut self) -> &mut Self::Memory
[src]
pub fn memory_ref(&self) -> &Self::Memory
[src]
pub fn memory_with_ext_mut(
&mut self
) -> (&mut Self::Memory, &mut Self::MemoryExt)
[src]
&mut self
) -> (&mut Self::Memory, &mut Self::MemoryExt)
impl<M, B, X, V> MemoryAccess for Ula<M, B, X, V> where
M: ZxMemory,
X: MemoryExtension,
[src]
M: ZxMemory,
X: MemoryExtension,
type Memory = M
type MemoryExt = X
pub fn memory_ext_ref(&self) -> &Self::MemoryExt
[src]
pub fn memory_ext_mut(&mut self) -> &mut Self::MemoryExt
[src]
pub fn memory_mut(&mut self) -> &mut Self::Memory
[src]
pub fn memory_ref(&self) -> &Self::Memory
[src]
pub fn memory_with_ext_mut(
&mut self
) -> (&mut Self::Memory, &mut Self::MemoryExt)
[src]
&mut self
) -> (&mut Self::Memory, &mut Self::MemoryExt)
impl<U> MemoryAccess for UlaPlus<U> where
U: Video + MemoryAccess,
[src]
U: Video + MemoryAccess,
type Memory = U::Memory
type MemoryExt = U::MemoryExt
pub fn memory_ext_ref(&self) -> &Self::MemoryExt
[src]
pub fn memory_ext_mut(&mut self) -> &mut Self::MemoryExt
[src]
pub fn memory_mut(&mut self) -> &mut Self::Memory
[src]
pub fn memory_ref(&self) -> &Self::Memory
[src]
pub fn memory_with_ext_mut(
&mut self
) -> (&mut Self::Memory, &mut Self::MemoryExt)
[src]
&mut self
) -> (&mut Self::Memory, &mut Self::MemoryExt)