pub enum ZXMachine {
Sinclair48K,
Sinclair128K,
}
Expand description
Machine type
Variants§
Implementations§
Source§impl ZXMachine
impl ZXMachine
Sourcepub fn contention_clocks(self, clocks: usize) -> usize
pub fn contention_clocks(self, clocks: usize) -> usize
Returns contention during specified time
Sourcepub fn port_is_contended(self, port: u16) -> bool
pub fn port_is_contended(self, port: u16) -> bool
Checks port contention on machine
Sourcepub fn bank_is_contended(self, page: usize) -> bool
pub fn bank_is_contended(self, page: usize) -> bool
Returns contention status of bank
Trait Implementations§
impl Copy for ZXMachine
impl Eq for ZXMachine
impl StructuralPartialEq for ZXMachine
Auto Trait Implementations§
impl Freeze for ZXMachine
impl RefUnwindSafe for ZXMachine
impl Send for ZXMachine
impl Sync for ZXMachine
impl Unpin for ZXMachine
impl UnwindSafe for ZXMachine
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