#[repr(transparent)]pub struct DimLedOutput {
pub brightness: u8,
}Expand description
Dimmable LED
Fields§
§brightness: u8Trait Implementations§
Source§impl Clone for DimLedOutput
impl Clone for DimLedOutput
Source§fn clone(&self) -> DimLedOutput
fn clone(&self) -> DimLedOutput
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 DimLedOutput
impl Debug for DimLedOutput
Source§impl From<ControlValue> for DimLedOutput
impl From<ControlValue> for DimLedOutput
Source§fn from(value: ControlValue) -> Self
fn from(value: ControlValue) -> Self
Converts to this type from the input type.
Source§impl From<DimLedOutput> for ControlValue
impl From<DimLedOutput> for ControlValue
Source§fn from(value: DimLedOutput) -> Self
fn from(value: DimLedOutput) -> Self
Converts to this type from the input type.
Source§impl PartialEq for DimLedOutput
impl PartialEq for DimLedOutput
impl Copy for DimLedOutput
impl Eq for DimLedOutput
impl StructuralPartialEq for DimLedOutput
Auto Trait Implementations§
impl Freeze for DimLedOutput
impl RefUnwindSafe for DimLedOutput
impl Send for DimLedOutput
impl Sync for DimLedOutput
impl Unpin for DimLedOutput
impl UnwindSafe for DimLedOutput
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