Struct smbioslib::MemoryTypeDetails
source · pub struct MemoryTypeDetails {
pub raw: u16,
}
Expand description
Fields§
§raw: u16
Raw value
Implementations§
source§impl MemoryTypeDetails
impl MemoryTypeDetails
sourcepub fn fast_paged(&self) -> bool
pub fn fast_paged(&self) -> bool
Bit 3 Fast-paged
sourcepub fn static_column(&self) -> bool
pub fn static_column(&self) -> bool
Bit 4 Static column
sourcepub fn pseudo_static(&self) -> bool
pub fn pseudo_static(&self) -> bool
Bit 5 Pseudo-static
sourcepub fn synchronous(&self) -> bool
pub fn synchronous(&self) -> bool
Bit 7 Synchronous
sourcepub fn window_dram(&self) -> bool
pub fn window_dram(&self) -> bool
Bit 10 Window DRAM
sourcepub fn cache_dram(&self) -> bool
pub fn cache_dram(&self) -> bool
Bit 11 Cache DRAM
sourcepub fn non_volatile(&self) -> bool
pub fn non_volatile(&self) -> bool
Bit 12 Non-volatile
sourcepub fn registered(&self) -> bool
pub fn registered(&self) -> bool
Bit 13 Registered (Buffered)
sourcepub fn unbuffered(&self) -> bool
pub fn unbuffered(&self) -> bool
Bit 14 Unbuffered (Unregistered)
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 MemoryTypeDetails
impl Debug for MemoryTypeDetails
source§impl Deref for MemoryTypeDetails
impl Deref for MemoryTypeDetails
source§impl From<u16> for MemoryTypeDetails
impl From<u16> for MemoryTypeDetails
source§impl PartialEq<MemoryTypeDetails> for MemoryTypeDetails
impl PartialEq<MemoryTypeDetails> for MemoryTypeDetails
source§fn eq(&self, other: &MemoryTypeDetails) -> bool
fn eq(&self, other: &MemoryTypeDetails) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for MemoryTypeDetails
impl Serialize for MemoryTypeDetails
impl Eq for MemoryTypeDetails
impl StructuralEq for MemoryTypeDetails
impl StructuralPartialEq for MemoryTypeDetails
Auto Trait Implementations§
impl RefUnwindSafe for MemoryTypeDetails
impl Send for MemoryTypeDetails
impl Sync for MemoryTypeDetails
impl Unpin for MemoryTypeDetails
impl UnwindSafe for MemoryTypeDetails
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