pub struct System {
pub cpu: HuC6280<Board>,
}Fields§
§cpu: HuC6280<Board>Implementations§
Source§impl System
impl System
Sourcepub fn new(board: Board) -> System
pub fn new(board: Board) -> System
The HuC6280 core on this board’s bus, with a reset requested: the first step() runs
the start sequence and reads the reset vector.
pub fn board(&self) -> &Board
pub fn board_mut(&mut self) -> &mut Board
pub fn frame(&self) -> i64
pub fn step(&mut self)
Auto Trait Implementations§
impl Freeze for System
impl !RefUnwindSafe for System
impl !Send for System
impl !Sync for System
impl Unpin for System
impl !UnwindSafe for System
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