Enum mg::ForegroundColor
source · pub enum ForegroundColor {
Red,
Yellow,
None,
}
Variants§
Trait Implementations§
source§impl Clone for ForegroundColor
impl Clone for ForegroundColor
source§fn clone(&self) -> ForegroundColor
fn clone(&self) -> ForegroundColor
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 PartialEq<ForegroundColor> for ForegroundColor
impl PartialEq<ForegroundColor> for ForegroundColor
source§fn eq(&self, other: &ForegroundColor) -> bool
fn eq(&self, other: &ForegroundColor) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ForegroundColor
impl StructuralPartialEq for ForegroundColor
Auto Trait Implementations§
impl RefUnwindSafe for ForegroundColor
impl Send for ForegroundColor
impl Sync for ForegroundColor
impl Unpin for ForegroundColor
impl UnwindSafe for ForegroundColor
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