pub struct DimmerDevice { /* private fields */ }
Implementations§
Source§impl DimmerDevice
impl DimmerDevice
pub fn subscribe_state(&self) -> EventualReader<DeviceState>
pub fn subscribe_brightness(&self) -> EventualReader<DeviceBrightness>
Trait Implementations§
Source§impl Clone for DimmerDevice
impl Clone for DimmerDevice
Source§fn clone(&self) -> DimmerDevice
fn clone(&self) -> DimmerDevice
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 EnetDevice for DimmerDevice
impl EnetDevice for DimmerDevice
Auto Trait Implementations§
impl Freeze for DimmerDevice
impl !RefUnwindSafe for DimmerDevice
impl Send for DimmerDevice
impl Sync for DimmerDevice
impl Unpin for DimmerDevice
impl !UnwindSafe for DimmerDevice
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