Struct umya_spreadsheet::structs::Color
source · pub struct Color { /* private fields */ }Implementations§
source§impl Color
impl Color
pub const NAMED_COLORS: &'static [&'static str] = _
pub const COLOR_BLACK: &'static str = "FF000000"
pub const COLOR_WHITE: &'static str = "FFFFFFFF"
pub const COLOR_RED: &'static str = "FFFF0000"
pub const COLOR_DARKRED: &'static str = "FF800000"
pub const COLOR_BLUE: &'static str = "FF0000FF"
pub const COLOR_DARKBLUE: &'static str = "FF000080"
pub const COLOR_GREEN: &'static str = "FF00FF00"
pub const COLOR_DARKGREEN: &'static str = "FF008000"
pub const COLOR_YELLOW: &'static str = "FFFFFF00"
pub const COLOR_DARKYELLOW: &'static str = "FF808000"
pub fn get_argb(&self) -> &str
pub fn set_argb<S: Into<String>>(&mut self, value: S) -> &mut Self
pub fn get_indexed(&self) -> &u32
pub fn set_indexed(&mut self, index: u32) -> &mut Self
pub fn get_theme_index(&self) -> &u32
pub fn set_theme_index(&mut self, index: u32) -> &mut Self
pub fn get_tint(&self) -> &f64
pub fn set_tint(&mut self, value: f64) -> &mut Color
Trait Implementations§
source§impl PartialEq for Color
impl PartialEq for Color
source§impl PartialOrd for Color
impl PartialOrd for Color
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 moreimpl StructuralPartialEq for Color
Auto Trait Implementations§
impl RefUnwindSafe for Color
impl Send for Color
impl Sync for Color
impl Unpin for Color
impl UnwindSafe for Color
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
§impl<T> Pointable for T
impl<T> Pointable for T
source§impl<R, P> ReadPrimitive<R> for Pwhere
R: Read + ReadEndian<P>,
P: Default,
impl<R, P> ReadPrimitive<R> for Pwhere R: Read + ReadEndian<P>, P: Default,
source§fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as
ReadEndian::read_from_little_endian().