[][src]Enum max6955::DigitType

pub enum DigitType {
    Seg7_16,
    D0_14,
    D0D2_14,
    Seg14,
}

Display Digit Configuration. see Table 14

Variants

Seg7_16

Digits 7 to 0 are 16-segment or 7- segment digits.

D0_14

Digit 0 is a 14-segment digit, digits 7 to 1 are 16-segment or 7- segment digits.

D0D2_14

Digits 2 to 0 are 14-segment digits, digits 7 to 3 are 16- segment or 7-segment digits.

Seg14

Digits 7 to 0 are 14-segment digits.

Methods

impl DigitType[src]

pub fn value(self) -> u8[src]

return enum value as u8

Auto Trait Implementations

impl Send for DigitType

impl Sync for DigitType

impl Unpin for DigitType

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.