pub struct BrightnessDecision {
pub brightness: u16,
pub next_deadline_ms: u64,
}Expand description
PWM brightness decision for the T1000-E’s state-aware indicator.
Fields§
§brightness: u16Linear brightness in the inclusive range 0..=1000.
next_deadline_ms: u64Trait Implementations§
Source§impl Clone for BrightnessDecision
impl Clone for BrightnessDecision
Source§fn clone(&self) -> BrightnessDecision
fn clone(&self) -> BrightnessDecision
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BrightnessDecision
impl Debug for BrightnessDecision
Source§impl PartialEq for BrightnessDecision
impl PartialEq for BrightnessDecision
impl Copy for BrightnessDecision
impl Eq for BrightnessDecision
impl StructuralPartialEq for BrightnessDecision
Auto Trait Implementations§
impl Freeze for BrightnessDecision
impl RefUnwindSafe for BrightnessDecision
impl Send for BrightnessDecision
impl Sync for BrightnessDecision
impl Unpin for BrightnessDecision
impl UnwindSafe for BrightnessDecision
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)