Enum random_color::Luminosity
source · pub enum Luminosity {
Random,
Bright,
Light,
Dark,
}
Variants§
Trait Implementations§
source§impl Clone for Luminosity
impl Clone for Luminosity
source§fn clone(&self) -> Luminosity
fn clone(&self) -> Luminosity
Returns a copy 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 Luminosity
impl Debug for Luminosity
source§impl PartialEq for Luminosity
impl PartialEq for Luminosity
source§fn eq(&self, other: &Luminosity) -> bool
fn eq(&self, other: &Luminosity) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for Luminosity
impl Eq for Luminosity
impl StructuralEq for Luminosity
impl StructuralPartialEq for Luminosity
Auto Trait Implementations§
impl RefUnwindSafe for Luminosity
impl Send for Luminosity
impl Sync for Luminosity
impl Unpin for Luminosity
impl UnwindSafe for Luminosity
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