Enum hid_io_protocol::commands::h0050::args::LedTestSequence
source · #[repr(u16)]pub enum LedTestSequence {
Disable,
Enable,
ActivateLedShortTest,
ActivateLedOpenCircuitTest,
}
Variants§
Trait Implementations§
source§impl Clone for LedTestSequence
impl Clone for LedTestSequence
source§fn clone(&self) -> LedTestSequence
fn clone(&self) -> LedTestSequence
Returns a copy of the value. Read more
1.0.0 · 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 LedTestSequence
impl Debug for LedTestSequence
source§impl PartialEq<LedTestSequence> for LedTestSequence
impl PartialEq<LedTestSequence> for LedTestSequence
source§fn eq(&self, other: &LedTestSequence) -> bool
fn eq(&self, other: &LedTestSequence) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TryFrom<u16> for LedTestSequence
impl TryFrom<u16> for LedTestSequence
§type Error = TryFromPrimitiveError<LedTestSequence>
type Error = TryFromPrimitiveError<LedTestSequence>
The type returned in the event of a conversion error.
source§impl TryFromPrimitive for LedTestSequence
impl TryFromPrimitive for LedTestSequence
impl Copy for LedTestSequence
impl Eq for LedTestSequence
impl StructuralEq for LedTestSequence
impl StructuralPartialEq for LedTestSequence
Auto Trait Implementations§
impl RefUnwindSafe for LedTestSequence
impl Send for LedTestSequence
impl Sync for LedTestSequence
impl Unpin for LedTestSequence
impl UnwindSafe for LedTestSequence
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