pub struct MemoryTypeDetails {Show 16 fields
pub raw: u16,
pub other: bool,
pub unknown: bool,
pub fast_paged: bool,
pub static_column: bool,
pub pseudo_static: bool,
pub ram_bus: bool,
pub synchronous: bool,
pub cmos: bool,
pub edo: bool,
pub window_dram: bool,
pub cache_dram: bool,
pub non_volatile: bool,
pub registered: bool,
pub unbuffered: bool,
pub lrdimm: bool,
}Fields§
§raw: u16Raw value
other: boolBit 1 other
unknown: boolBut 2 unknown
fast_paged: boolBit 3 fast-paged
static_column: boolBit 4 static column
pseudo_static: boolBit 5 pseudo-static
ram_bus: boolBit 6 RAMBUS
synchronous: boolBit 7 synchronous
cmos: boolBit 8 CMOS
edo: boolBit 9 EDO
window_dram: boolBit 10 Window DRAM
cache_dram: boolBit 11 Cache DRAM
non_volatile: bool§registered: boolBit 13 Registered (Buffered)
unbuffered: boolBit 14 Unbuffered (Unregistered)
lrdimm: boolBit 15 LRDIMM
Trait Implementations§
Source§impl Clone for MemoryTypeDetails
impl Clone for MemoryTypeDetails
Source§fn clone(&self) -> MemoryTypeDetails
fn clone(&self) -> MemoryTypeDetails
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MemoryTypeDetails
impl Debug for MemoryTypeDetails
Source§impl<'de> Deserialize<'de> for MemoryTypeDetails
impl<'de> Deserialize<'de> for MemoryTypeDetails
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<MemoryTypeDetails> for MemoryTypeDetails
impl From<MemoryTypeDetails> for MemoryTypeDetails
Source§fn from(v: MemoryTypeDetails) -> Self
fn from(v: MemoryTypeDetails) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for MemoryTypeDetails
impl RefUnwindSafe for MemoryTypeDetails
impl Send for MemoryTypeDetails
impl Sync for MemoryTypeDetails
impl Unpin for MemoryTypeDetails
impl UnsafeUnpin 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more