Struct umya_spreadsheet::structs::color::Color[][src]

pub struct Color { /* fields omitted */ }

Implementations

impl Color[src]

pub const NAMED_COLORS: &'static [&'static str][src]

pub const COLOR_BLACK: &'static str[src]

pub const COLOR_WHITE: &'static str[src]

pub const COLOR_RED: &'static str[src]

pub const COLOR_DARKRED: &'static str[src]

pub const COLOR_BLUE: &'static str[src]

pub const COLOR_DARKBLUE: &'static str[src]

pub const COLOR_GREEN: &'static str[src]

pub const COLOR_DARKGREEN: &'static str[src]

pub const COLOR_YELLOW: &'static str[src]

pub const COLOR_DARKYELLOW: &'static str[src]

pub fn get_argb(&self) -> &str[src]

pub fn set_argb<S: Into<String>>(
    &mut self,
    value: S
) -> Result<(), &'static str>
[src]

pub fn get_indexed(&self) -> &Option<usize>[src]

pub fn set_indexed(&mut self, index: usize) -> Result<(), &'static str>[src]

pub fn get_theme_index(&self) -> &Option<usize>[src]

pub fn set_theme_index(
    &mut self,
    index: usize,
    theme_color_map: &Vec<String>
) -> Result<(), &'static str>
[src]

pub fn get_tint(&self) -> &f64[src]

Trait Implementations

impl Clone for Color[src]

impl Debug for Color[src]

impl Default for Color[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.