pub struct ControlCapabilities {
pub min_dimlevel: Option<usize>,
pub max_lumen: Option<usize>,
pub color_gamut: Option<Vec<(f32, f32)>>,
pub color_gamut_type: Option<String>,
pub color_temperature: Option<ColorTemperatureCapabilities>,
}Expand description
Control capabilities of a light.
Fields§
§min_dimlevel: Option<usize>Minimal dimlevel of the light.
max_lumen: Option<usize>Maximal lumen of the light.
color_gamut: Option<Vec<(f32, f32)>>Color gamut of the light.
color_gamut_type: Option<String>Type of the color gamut of the light.
color_temperature: Option<ColorTemperatureCapabilities>Maximal/minimal color temperature of the light.
Trait Implementations§
Source§impl Clone for ControlCapabilities
impl Clone for ControlCapabilities
Source§fn clone(&self) -> ControlCapabilities
fn clone(&self) -> ControlCapabilities
Returns a duplicate 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 ControlCapabilities
impl Debug for ControlCapabilities
Source§impl<'de> Deserialize<'de> for ControlCapabilities
impl<'de> Deserialize<'de> for ControlCapabilities
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ControlCapabilities
impl PartialEq for ControlCapabilities
impl StructuralPartialEq for ControlCapabilities
Auto Trait Implementations§
impl Freeze for ControlCapabilities
impl RefUnwindSafe for ControlCapabilities
impl Send for ControlCapabilities
impl Sync for ControlCapabilities
impl Unpin for ControlCapabilities
impl UnwindSafe for ControlCapabilities
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more