Enum lifx_core::TemperatureRange
source · Variants§
Variable
The device supports a range of temperatures
Fixed(u16)
The device only supports 1 temperature
None
For devices that aren’t lighting products (the LIFX switch)
Trait Implementations§
source§impl Clone for TemperatureRange
impl Clone for TemperatureRange
source§fn clone(&self) -> TemperatureRange
fn clone(&self) -> TemperatureRange
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for TemperatureRange
impl Debug for TemperatureRange
source§impl PartialEq<TemperatureRange> for TemperatureRange
impl PartialEq<TemperatureRange> for TemperatureRange
source§fn eq(&self, other: &TemperatureRange) -> bool
fn eq(&self, other: &TemperatureRange) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.