Enum xlsxwriter::format::FormatColor
source · pub enum FormatColor {
Show 17 variants
Black,
Blue,
Brown,
Cyan,
Gray,
Green,
Lime,
Magenta,
Navy,
Orange,
Purple,
Red,
Pink,
Silver,
White,
Yellow,
Custom(u32),
}
Variants§
Black
Blue
Brown
Cyan
Gray
Green
Lime
Magenta
Orange
Purple
Red
Pink
Silver
White
Yellow
Custom(u32)
Implementations§
Trait Implementations§
source§impl Clone for FormatColor
impl Clone for FormatColor
source§fn clone(&self) -> FormatColor
fn clone(&self) -> FormatColor
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 Debug for FormatColor
impl Debug for FormatColor
source§impl Hash for FormatColor
impl Hash for FormatColor
source§impl Ord for FormatColor
impl Ord for FormatColor
source§fn cmp(&self, other: &FormatColor) -> Ordering
fn cmp(&self, other: &FormatColor) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<FormatColor> for FormatColor
impl PartialEq<FormatColor> for FormatColor
source§fn eq(&self, other: &FormatColor) -> bool
fn eq(&self, other: &FormatColor) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<FormatColor> for FormatColor
impl PartialOrd<FormatColor> for FormatColor
source§fn partial_cmp(&self, other: &FormatColor) -> Option<Ordering>
fn partial_cmp(&self, other: &FormatColor) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more