[−][src]Enum ltr_559::types::AlsGain
ALS Gain
Variants
Gain 1x (1 lux to 64k lux default)
Gain 2x (0.5 lux to 32k lux)
Gain 4x (0.25 lux to 16k lux)
Gain 8x (0.125 lux to 8k lux)
Gain 48x (0.2 lux to 1.3k lux)
Gain 96x (0.1 lux to 600 lux)
Implementations
impl AlsGain
[src]
pub fn value(&self) -> u8
[src]
ALS Gain value
pub fn lux_compute_value(&self) -> f32
[src]
ALS_GAIN value, used in lux computation
Trait Implementations
impl Clone for AlsGain
[src]
impl Copy for AlsGain
[src]
impl Debug for AlsGain
[src]
impl Default for AlsGain
[src]
Default for AlsGain
impl PartialEq<AlsGain> for AlsGain
[src]
impl StructuralPartialEq for AlsGain
[src]
Auto Trait Implementations
impl RefUnwindSafe for AlsGain
impl Send for AlsGain
impl Sync for AlsGain
impl Unpin for AlsGain
impl UnwindSafe for AlsGain
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,