Struct smbioslib::MemoryTypeDetails
source · [−]pub struct MemoryTypeDetails {
pub raw: u16,
}
Expand description
Fields
raw: u16
Raw value
Implementations
sourceimpl 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)
Trait Implementations
sourceimpl Debug for MemoryTypeDetails
impl Debug for MemoryTypeDetails
sourceimpl Deref for MemoryTypeDetails
impl Deref for MemoryTypeDetails
sourceimpl From<u16> for MemoryTypeDetails
impl From<u16> for MemoryTypeDetails
sourceimpl PartialEq<MemoryTypeDetails> for MemoryTypeDetails
impl PartialEq<MemoryTypeDetails> for MemoryTypeDetails
sourcefn 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 ==
. Read more
sourcefn ne(&self, other: &MemoryTypeDetails) -> bool
fn ne(&self, other: &MemoryTypeDetails) -> bool
This method tests for !=
.
sourceimpl 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
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