pub struct CartridgeInfo {
pub title: String,
pub title_checksum: u8,
pub licensee: Licensee,
pub cartridge_type: CartridgeType,
pub rom_size: ROMSize,
pub ram_size: RAMSize,
pub cgb_mode: CGBMode,
}
Fields§
§title: String
§title_checksum: u8
§licensee: Licensee
§cartridge_type: CartridgeType
§rom_size: ROMSize
§ram_size: RAMSize
§cgb_mode: CGBMode
Implementations§
Source§impl CartridgeInfo
impl CartridgeInfo
Auto Trait Implementations§
impl Freeze for CartridgeInfo
impl RefUnwindSafe for CartridgeInfo
impl Send for CartridgeInfo
impl Sync for CartridgeInfo
impl Unpin for CartridgeInfo
impl UnwindSafe for CartridgeInfo
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more