pub struct DeviceDimmable {
pub value: f64,
pub label: String,
pub range: DimmableRange,
}
Fields§
§value: f64
§label: String
§range: DimmableRange
Trait Implementations§
Source§impl Clone for DeviceDimmable
impl Clone for DeviceDimmable
Source§fn clone(&self) -> DeviceDimmable
fn clone(&self) -> DeviceDimmable
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<'de> Deserialize<'de> for DeviceDimmable
impl<'de> Deserialize<'de> for DeviceDimmable
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
Auto Trait Implementations§
impl Freeze for DeviceDimmable
impl RefUnwindSafe for DeviceDimmable
impl Send for DeviceDimmable
impl Sync for DeviceDimmable
impl Unpin for DeviceDimmable
impl UnwindSafe for DeviceDimmable
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