pub enum PrimaryColor {
Red,
Yellow,
Blue,
}Variants§
Trait Implementations§
Source§impl Clone for PrimaryColor
impl Clone for PrimaryColor
Source§fn clone(&self) -> PrimaryColor
fn clone(&self) -> PrimaryColor
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 PrimaryColor
Source§impl Debug for PrimaryColor
impl Debug for PrimaryColor
impl Eq for PrimaryColor
Source§impl PartialEq for PrimaryColor
impl PartialEq for PrimaryColor
impl StructuralPartialEq for PrimaryColor
Auto Trait Implementations§
impl Freeze for PrimaryColor
impl RefUnwindSafe for PrimaryColor
impl Send for PrimaryColor
impl Sync for PrimaryColor
impl Unpin for PrimaryColor
impl UnsafeUnpin for PrimaryColor
impl UnwindSafe for PrimaryColor
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