Enum hid_io_protocol::commands::h0050::Command
source · #[repr(u16)]pub enum Command {
TestCommand,
LedTestSequence,
LedCycleKeypressTest,
HallEffectSensorTest,
InvalidCommand,
}
Variants§
Trait Implementations§
source§impl PartialEq<Command> for Command
impl PartialEq<Command> for Command
source§impl TryFrom<u16> for Command
impl TryFrom<u16> for Command
§type Error = TryFromPrimitiveError<Command>
type Error = TryFromPrimitiveError<Command>
The type returned in the event of a conversion error.
source§impl TryFromPrimitive for Command
impl TryFromPrimitive for Command
impl Copy for Command
impl Eq for Command
impl StructuralEq for Command
impl StructuralPartialEq for Command
Auto Trait Implementations§
impl RefUnwindSafe for Command
impl Send for Command
impl Sync for Command
impl Unpin for Command
impl UnwindSafe for Command
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