#[non_exhaustive]pub enum BacklightType {
None,
AcFluorescent,
Dc,
Unknown(u8),
}Expand description
Backlight type, decoded from Display Device Data Block (0x0C) byte 1 bits 5:4.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
None
No backlight, or not applicable (0).
AcFluorescent
AC fluorescent (CCFL) backlight (1).
Dc
DC-powered backlight (LED or other) (2).
Unknown(u8)
Reserved value (3).
Implementations§
Trait Implementations§
Source§impl Clone for BacklightType
impl Clone for BacklightType
Source§fn clone(&self) -> BacklightType
fn clone(&self) -> BacklightType
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 BacklightType
impl Debug for BacklightType
Source§impl PartialEq for BacklightType
impl PartialEq for BacklightType
impl Copy for BacklightType
impl Eq for BacklightType
impl StructuralPartialEq for BacklightType
Auto Trait Implementations§
impl Freeze for BacklightType
impl RefUnwindSafe for BacklightType
impl Send for BacklightType
impl Sync for BacklightType
impl Unpin for BacklightType
impl UnsafeUnpin for BacklightType
impl UnwindSafe for BacklightType
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