pub enum HairColor {
Black,
Brown,
Blonde,
Red,
}Variants§
Trait Implementations§
impl Copy for HairColor
Auto Trait Implementations§
impl Freeze for HairColor
impl RefUnwindSafe for HairColor
impl Send for HairColor
impl Sync for HairColor
impl Unpin for HairColor
impl UnwindSafe for HairColor
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