pub enum Brightness {
Off,
Low,
Medium,
Full,
}Variants§
Trait Implementations§
Source§impl Clone for Brightness
impl Clone for Brightness
Source§fn clone(&self) -> Brightness
fn clone(&self) -> Brightness
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 Brightness
Source§impl Debug for Brightness
impl Debug for Brightness
impl Eq for Brightness
Source§impl Hash for Brightness
impl Hash for Brightness
Source§impl Ord for Brightness
impl Ord for Brightness
Source§fn cmp(&self, other: &Brightness) -> Ordering
fn cmp(&self, other: &Brightness) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for Brightness
impl PartialEq for Brightness
Source§fn eq(&self, other: &Brightness) -> bool
fn eq(&self, other: &Brightness) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for Brightness
impl PartialOrd for Brightness
impl StructuralPartialEq for Brightness
Auto Trait Implementations§
impl Freeze for Brightness
impl RefUnwindSafe for Brightness
impl Send for Brightness
impl Sync for Brightness
impl Unpin for Brightness
impl UnsafeUnpin for Brightness
impl UnwindSafe for Brightness
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