[][src]Enum ltr_559::types::AlsIntTime

pub enum AlsIntTime {
    _50ms,
    _100ms,
    _150ms,
    _200ms,
    _250ms,
    _300ms,
    _350ms,
    _400ms,
}

ALS Integration Time

Variants

_50ms

50 ms

_100ms

100 ms

_150ms

150 ms

_200ms

200 ms

_250ms

250 ms

_300ms

300 ms

_350ms

350 ms

_400ms

400 ms

Implementations

impl AlsIntTime[src]

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

Return value for AlsIntegrationTime

pub fn lux_compute_value(&self) -> f32[src]

ALS_INT value used for lux computation

Trait Implementations

impl Clone for AlsIntTime[src]

impl Copy for AlsIntTime[src]

impl Debug for AlsIntTime[src]

impl Default for AlsIntTime[src]

impl PartialEq<AlsIntTime> for AlsIntTime[src]

impl StructuralPartialEq for AlsIntTime[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.