[][src]Enum gameboy_rom::data::RomType

pub enum RomType {
    RomOnly,
    Mbc1,
    Mbc1Ram,
    Mbc1RamBattery,
    Mbc2,
    Mbc2Battery,
    RomRam,
    RomRamBattery,
    Mmm01,
    Mmm01Sram,
    Mmm01SramBattery,
    Mbc3TimerBattery,
    Mbc3TimerRamBattery,
    Mbc3,
    Mbc3Ram,
    Mbc3RamBattery,
    Mbc5,
    Mbc5Ram,
    Mbc5RamBattery,
    Mbc5Rumble,
    Mbc5RumbleSram,
    Mbc5RumbleSramBattery,
    PocketCamera,
    Tama5,
    Huc3,
    Huc1,
    Other(u8),
}

The ROM type as a convenient enum

Variants

RomOnlyMbc1Mbc1RamMbc1RamBatteryMbc2Mbc2BatteryRomRamRomRamBatteryMmm01Mmm01SramMmm01SramBatteryMbc3TimerBatteryMbc3TimerRamBatteryMbc3Mbc3RamMbc3RamBatteryMbc5Mbc5RamMbc5RamBatteryMbc5RumbleMbc5RumbleSramMbc5RumbleSramBatteryPocketCameraTama5Huc3Huc1Other(u8)

Trait Implementations

impl Eq for RomType[src]

impl PartialEq<RomType> for RomType[src]

impl From<u8> for RomType[src]

impl Debug for RomType[src]

impl Serialize for RomType[src]

impl<'de> Deserialize<'de> for RomType[src]

Auto Trait Implementations

impl Send for RomType

impl Sync for RomType

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]