pub enum RomSize {
Kilobytes(u16),
Megabytes(u16),
Gigabytes(u16),
Undefined(u16),
SeeExtendedRomSize,
}
Expand description
Variants
Kilobytes(u16)
Size of this rom in bytes
Megabytes(u16)
Extended size of the physical device(s) containing the BIOS (in MB).
Gigabytes(u16)
Extended size of the physical device(s) containing the BIOS (in GB).
Undefined(u16)
Extended size of the physical device(s) containing the BIOS in raw form.
The standard currently only defines MB and GB as given in the high nibble (bits 15-14)
SeeExtendedRomSize
The value present is 16MB or greater and must be found using extended_rom_size
Trait Implementations
impl Eq for RomSize
impl StructuralEq for RomSize
impl StructuralPartialEq for RomSize
Auto Trait Implementations
impl RefUnwindSafe for RomSize
impl Send for RomSize
impl Sync for RomSize
impl Unpin for RomSize
impl UnwindSafe for RomSize
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more