Enum smbioslib::ExtendedRomSize
source · [−]Expand description
Variants
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)
Trait Implementations
sourceimpl Debug for ExtendedRomSize
impl Debug for ExtendedRomSize
sourceimpl From<u16> for ExtendedRomSize
impl From<u16> for ExtendedRomSize
sourceimpl PartialEq<ExtendedRomSize> for ExtendedRomSize
impl PartialEq<ExtendedRomSize> for ExtendedRomSize
sourcefn eq(&self, other: &ExtendedRomSize) -> bool
fn eq(&self, other: &ExtendedRomSize) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ExtendedRomSize) -> bool
fn ne(&self, other: &ExtendedRomSize) -> bool
This method tests for !=
.
sourceimpl Serialize for ExtendedRomSize
impl Serialize for ExtendedRomSize
impl Eq for ExtendedRomSize
impl StructuralEq for ExtendedRomSize
impl StructuralPartialEq for ExtendedRomSize
Auto Trait Implementations
impl RefUnwindSafe for ExtendedRomSize
impl Send for ExtendedRomSize
impl Sync for ExtendedRomSize
impl Unpin for ExtendedRomSize
impl UnwindSafe for ExtendedRomSize
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