pub struct SuperGrafx {
pub board: Board,
}Expand description
A base board configured as a SuperGrafx. board is the plain pcengine_rust::board::Board.
Fields§
§board: BoardImplementations§
Source§impl SuperGrafx
impl SuperGrafx
pub fn new(options: SuperGrafxOptions) -> Result<SuperGrafx, String>
Sourcepub fn with_card(image: &[u8], compat: bool) -> Result<SuperGrafx, String>
pub fn with_card(image: &[u8], compat: bool) -> Result<SuperGrafx, String>
A SuperGrafx with this card image in the slot and a 2-button pad in the port (a host’s
usual machine: make_card strips a copier header; every SuperGrafx card is a plain ROM).
Sourcepub fn page(&mut self) -> &mut VideoPage
pub fn page(&mut self) -> &mut VideoPage
The video page (the decode, the compatibility switch) and its vpc.
pub fn compat(&mut self) -> bool
pub fn set_compat(&mut self, value: bool)
Auto Trait Implementations§
impl Freeze for SuperGrafx
impl !RefUnwindSafe for SuperGrafx
impl !Send for SuperGrafx
impl !Sync for SuperGrafx
impl Unpin for SuperGrafx
impl !UnwindSafe for SuperGrafx
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