pub enum Brightness {
Zero,
OneSeventh,
OneHalf,
Full,
}Expand description
Tally light brightness, in 4 discrete steps
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 · 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 Brightness
impl Debug for Brightness
Source§impl Display for Brightness
impl Display for Brightness
Source§impl PartialEq for Brightness
impl PartialEq for Brightness
impl Copy for Brightness
impl Eq 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 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