#[repr(u32)]pub enum HwState {
On = 0,
Off = 1,
Standby = 2,
}
Expand description
5.1.18 NODE_HW_STATE return value
Variants§
Trait Implementations§
Source§impl TryFromPrimitive for HwState
impl TryFromPrimitive for HwState
impl Copy for HwState
impl Eq for HwState
impl StructuralPartialEq for HwState
Auto Trait Implementations§
impl Freeze for HwState
impl RefUnwindSafe for HwState
impl Send for HwState
impl Sync for HwState
impl Unpin for HwState
impl UnwindSafe for HwState
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