#[non_exhaustive]#[repr(u8)]pub enum BacklightTimeout {
Infinite = 0,
}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.
Infinite = 0
Implementations§
Trait Implementations§
Source§impl Clone for BacklightTimeout
impl Clone for BacklightTimeout
Source§fn clone(&self) -> BacklightTimeout
fn clone(&self) -> BacklightTimeout
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 moreSource§impl Debug for BacklightTimeout
impl Debug for BacklightTimeout
Source§impl Hash for BacklightTimeout
impl Hash for BacklightTimeout
Source§impl PartialEq for BacklightTimeout
impl PartialEq for BacklightTimeout
Source§fn eq(&self, other: &BacklightTimeout) -> bool
fn eq(&self, other: &BacklightTimeout) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for BacklightTimeout
impl Eq for BacklightTimeout
impl StructuralPartialEq for BacklightTimeout
Auto Trait Implementations§
impl Freeze for BacklightTimeout
impl RefUnwindSafe for BacklightTimeout
impl Send for BacklightTimeout
impl Sync for BacklightTimeout
impl Unpin for BacklightTimeout
impl UnsafeUnpin for BacklightTimeout
impl UnwindSafe for BacklightTimeout
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