pub enum ConsoleType {
Nes,
VsSystem,
Playchoice10,
Extended,
}Expand description
Console type from NES 2.0 header byte 7 (bits 0-1).
iNES 1.0 cartridges always parse as ConsoleType::Nes.
Variants§
Nes
Standard NES / Famicom.
VsSystem
Nintendo Vs. System arcade hardware.
Playchoice10
Nintendo PlayChoice-10 arcade hardware.
Extended
Extended console family (see NES 2.0 byte 13 for the specific variant).
Trait Implementations§
Source§impl Clone for ConsoleType
impl Clone for ConsoleType
Source§fn clone(&self) -> ConsoleType
fn clone(&self) -> ConsoleType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ConsoleType
Source§impl Debug for ConsoleType
impl Debug for ConsoleType
impl Eq for ConsoleType
Source§impl Hash for ConsoleType
impl Hash for ConsoleType
Source§impl PartialEq for ConsoleType
impl PartialEq for ConsoleType
impl StructuralPartialEq for ConsoleType
Auto Trait Implementations§
impl Freeze for ConsoleType
impl RefUnwindSafe for ConsoleType
impl Send for ConsoleType
impl Sync for ConsoleType
impl Unpin for ConsoleType
impl UnsafeUnpin for ConsoleType
impl UnwindSafe for ConsoleType
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