Struct smbioslib::SlotHeightData
source · [−]pub struct SlotHeightData {
pub raw: u8,
pub value: SlotHeight,
}
Expand description
Fields
raw: u8
Raw value
raw is most useful when value is None. This is most likely to occur when the standard was updated but this library code has not been updated to match the current standard.
value: SlotHeight
The contained SlotHeight value
Trait Implementations
sourceimpl Debug for SlotHeightData
impl Debug for SlotHeightData
sourceimpl Deref for SlotHeightData
impl Deref for SlotHeightData
type Target = SlotHeight
type Target = SlotHeight
The resulting type after dereferencing.
sourceimpl From<u8> for SlotHeightData
impl From<u8> for SlotHeightData
sourceimpl Serialize for SlotHeightData
impl Serialize for SlotHeightData
Auto Trait Implementations
impl RefUnwindSafe for SlotHeightData
impl Send for SlotHeightData
impl Sync for SlotHeightData
impl Unpin for SlotHeightData
impl UnwindSafe for SlotHeightData
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