pub struct ChassisStateData {
pub raw: u8,
pub value: ChassisState,
}
Expand description
§Chassis State Data
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: ChassisState
The contained ChassisState value
Trait Implementations§
Source§impl Debug for ChassisStateData
impl Debug for ChassisStateData
Source§impl Deref for ChassisStateData
impl Deref for ChassisStateData
Source§impl From<u8> for ChassisStateData
impl From<u8> for ChassisStateData
Auto Trait Implementations§
impl Freeze for ChassisStateData
impl RefUnwindSafe for ChassisStateData
impl Send for ChassisStateData
impl Sync for ChassisStateData
impl Unpin for ChassisStateData
impl UnwindSafe for ChassisStateData
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