#[repr(u8)]
pub enum RESOLUTION_A {
NONE,
DITH4,
DITH5,
DITH6,
}
Expand description
Enhanced Resolution
Value on reset: 0
Variants
NONE
0: Dithering is disabled
DITH4
1: Dithering is done every 16 PWM frames
DITH5
2: Dithering is done every 32 PWM frames
DITH6
3: Dithering is done every 64 PWM frames
Trait Implementations
sourceimpl Clone for RESOLUTION_A
impl Clone for RESOLUTION_A
sourcefn clone(&self) -> RESOLUTION_A
fn clone(&self) -> RESOLUTION_A
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for RESOLUTION_A
impl Debug for RESOLUTION_A
sourceimpl From<RESOLUTION_A> for u8
impl From<RESOLUTION_A> for u8
sourcefn from(variant: RESOLUTION_A) -> Self
fn from(variant: RESOLUTION_A) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<RESOLUTION_A> for RESOLUTION_A
impl PartialEq<RESOLUTION_A> for RESOLUTION_A
sourcefn eq(&self, other: &RESOLUTION_A) -> bool
fn eq(&self, other: &RESOLUTION_A) -> bool
impl Copy for RESOLUTION_A
impl StructuralPartialEq for RESOLUTION_A
Auto Trait Implementations
impl RefUnwindSafe for RESOLUTION_A
impl Send for RESOLUTION_A
impl Sync for RESOLUTION_A
impl Unpin for RESOLUTION_A
impl UnwindSafe for RESOLUTION_A
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more