Enum tsl256x::Gain[][src]

pub enum Gain {
    Low,
    High,
}

Available sensor gain settings

Lux calculations must take this setting into account

Variants

Low gain - 1x (default)

High gain - 16x

Trait Implementations

impl Copy for Gain
[src]

impl Clone for Gain
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Send for Gain

impl Sync for Gain