pub enum MemorySizeExtended {
Megabytes(u32),
SeeSize,
}
Expand description
§Extended Size of Memory
Variants§
Megabytes(u32)
Size of Memory (MB)
SeeSize
See the size field.
For compatibility with older SMBIOS parsers, memory devices smaller than (32 GB - 1 MB) should be represented using their size in the Size field, leaving the Extended Size field set to 0.
Trait Implementations§
Source§impl Debug for MemorySizeExtended
impl Debug for MemorySizeExtended
Source§impl From<u32> for MemorySizeExtended
Bit 31 is reserved for future use and must be set to 0.
Bits 30:0 represent the size of the memory device in megabytes.
impl From<u32> for MemorySizeExtended
Bit 31 is reserved for future use and must be set to 0. Bits 30:0 represent the size of the memory device in megabytes.
Source§impl PartialEq for MemorySizeExtended
impl PartialEq for MemorySizeExtended
Source§impl Serialize for MemorySizeExtended
impl Serialize for MemorySizeExtended
impl Eq for MemorySizeExtended
impl StructuralPartialEq for MemorySizeExtended
Auto Trait Implementations§
impl Freeze for MemorySizeExtended
impl RefUnwindSafe for MemorySizeExtended
impl Send for MemorySizeExtended
impl Sync for MemorySizeExtended
impl Unpin for MemorySizeExtended
impl UnwindSafe for MemorySizeExtended
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