#[repr(u16)]pub enum LedTestSequence {
Disable = 0,
Enable = 1,
ActivateLedShortTest = 2,
ActivateLedOpenCircuitTest = 3,
}
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 for LedTestSequence
impl PartialEq for LedTestSequence
Source§impl TryFrom<u16> for LedTestSequence
impl TryFrom<u16> for LedTestSequence
Source§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 StructuralPartialEq for LedTestSequence
Auto Trait Implementations§
impl Freeze for LedTestSequence
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