Enum cargo_demo2::kinds::PrimaryColor
source · [−]pub enum PrimaryColor {
Red,
Yellow,
Blue,
}
Expand description
采用 RGB 色彩模式的主要颜色
Variants
Red
Yellow
Blue
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for PrimaryColor
impl Send for PrimaryColor
impl Sync for PrimaryColor
impl Unpin for PrimaryColor
impl UnwindSafe for PrimaryColor
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more