pub enum Eyes {
Happy,
Surprised,
Flashed,
Tired,
Double,
TiltedLeft,
TiltedRight,
}Variants§
Implementations§
Source§impl Eyes
impl Eyes
Sourcepub fn generate_random() -> Self
pub fn generate_random() -> Self
Generates a random instance of this type
Sourcepub fn generate_random_customize<T: FnOnce(&mut Self)>(customize: T) -> Self
pub fn generate_random_customize<T: FnOnce(&mut Self)>(customize: T) -> Self
Generates a random instance of this type with the possibility to customize it
Trait Implementations§
Source§impl Distribution<Eyes> for Standard
impl Distribution<Eyes> for Standard
Auto Trait Implementations§
impl Freeze for Eyes
impl RefUnwindSafe for Eyes
impl Send for Eyes
impl Sync for Eyes
impl Unpin for Eyes
impl UnwindSafe for Eyes
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