pub enum CommandColor {
Black,
Blue,
Cyan,
Green,
Purple,
Red,
Yellow,
}
Variantsยง
Trait Implementationsยง
Sourceยงimpl Clone for CommandColor
impl Clone for CommandColor
Sourceยงfn clone(&self) -> CommandColor
fn clone(&self) -> CommandColor
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 From<CommandColor> for Color
impl From<CommandColor> for Color
Sourceยงfn from(command_color: CommandColor) -> Self
fn from(command_color: CommandColor) -> Self
Converts to this type from the input type.
Sourceยงimpl ValueEnum for CommandColor
impl ValueEnum for CommandColor
impl Copy for CommandColor
Auto Trait Implementationsยง
impl Freeze for CommandColor
impl RefUnwindSafe for CommandColor
impl Send for CommandColor
impl Sync for CommandColor
impl Unpin for CommandColor
impl UnwindSafe for CommandColor
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