Struct smbioslib::MemoryTypes
source · pub struct MemoryTypes {
pub raw: u16,
}
Expand description
Fields§
§raw: u16
Raw value
Implementations§
source§impl MemoryTypes
impl MemoryTypes
sourcepub fn fast_page_mode(&self) -> bool
pub fn fast_page_mode(&self) -> bool
Bit 3 Fast Page Mode
Methods from Deref<Target = u16>§
pub const MIN: u16 = 0u16
pub const MAX: u16 = 65_535u16
pub const BITS: u32 = 16u32
Trait Implementations§
source§impl Debug for MemoryTypes
impl Debug for MemoryTypes
source§impl Deref for MemoryTypes
impl Deref for MemoryTypes
source§impl From<u16> for MemoryTypes
impl From<u16> for MemoryTypes
source§impl PartialEq<MemoryTypes> for MemoryTypes
impl PartialEq<MemoryTypes> for MemoryTypes
source§fn eq(&self, other: &MemoryTypes) -> bool
fn eq(&self, other: &MemoryTypes) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for MemoryTypes
impl Serialize for MemoryTypes
impl Eq for MemoryTypes
impl StructuralEq for MemoryTypes
impl StructuralPartialEq for MemoryTypes
Auto Trait Implementations§
impl RefUnwindSafe for MemoryTypes
impl Send for MemoryTypes
impl Sync for MemoryTypes
impl Unpin for MemoryTypes
impl UnwindSafe for MemoryTypes
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