pub enum LightingMethod {
Auto,
Effects,
PerKey,
}Expand description
Which HID++ lighting path drives a solid keyboard colour. Auto is what
the GUI/agent use; the explicit variants exist for the diag A/B test.
Variants§
Auto
Prefer ColorLedEffects (0x8070), falling back to PerKeyLighting
(0x8080) when the device exposes no effect engine.
Effects
Force ColorLedEffects (0x8070) — the fixed-effect override.
PerKey
Force PerKeyLighting (0x8080) — the per-key stream.
Trait Implementations§
Source§impl Clone for LightingMethod
impl Clone for LightingMethod
Source§fn clone(&self) -> LightingMethod
fn clone(&self) -> LightingMethod
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for LightingMethod
Source§impl Debug for LightingMethod
impl Debug for LightingMethod
impl Eq for LightingMethod
Source§impl PartialEq for LightingMethod
impl PartialEq for LightingMethod
Source§fn eq(&self, other: &LightingMethod) -> bool
fn eq(&self, other: &LightingMethod) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for LightingMethod
Auto Trait Implementations§
impl Freeze for LightingMethod
impl RefUnwindSafe for LightingMethod
impl Send for LightingMethod
impl Sync for LightingMethod
impl Unpin for LightingMethod
impl UnsafeUnpin for LightingMethod
impl UnwindSafe for LightingMethod
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.