[][src]Enum ltr_559::types::LedCurrent

pub enum LedCurrent {
    _5mA,
    _10mA,
    _20mA,
    _50mA,
    _100mA,
}

Operating mode

Variants

_5mA

5 mA

_10mA

10 mA

_20mA

20 mA

_50mA

50 mA

_100mA

100 mA (default)

Implementations

impl LedCurrent[src]

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

LED Current bits value

Trait Implementations

impl Clone for LedCurrent[src]

impl Copy for LedCurrent[src]

impl Debug for LedCurrent[src]

impl Default for LedCurrent[src]

impl PartialEq<LedCurrent> for LedCurrent[src]

impl StructuralPartialEq for LedCurrent[src]

Auto Trait Implementations

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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.