Skip to main content

ColorTool

Struct ColorTool 

Source
pub struct ColorTool;

Implementations§

Source§

impl ColorTool

Source

pub fn new() -> Self

Source

pub fn alice_blue(&self) -> &'static str

Source

pub fn antique_white(&self) -> &'static str

Source

pub fn aqua(&self) -> &'static str

Source

pub fn aquamarine(&self) -> &'static str

Source

pub fn azure(&self) -> &'static str

Source

pub fn beige(&self) -> &'static str

Source

pub fn bisque(&self) -> &'static str

Source

pub fn black(&self) -> &'static str

Source

pub fn blanched_almond(&self) -> &'static str

Source

pub fn blue(&self) -> &'static str

Source

pub fn blue_violet(&self) -> &'static str

Source

pub fn brown(&self) -> &'static str

Source

pub fn burly_wood(&self) -> &'static str

Source

pub fn cadet_blue(&self) -> &'static str

Source

pub fn chartreuse(&self) -> &'static str

Source

pub fn chocolate(&self) -> &'static str

Source

pub fn coral(&self) -> &'static str

Source

pub fn cornflower_blue(&self) -> &'static str

Source

pub fn cornsilk(&self) -> &'static str

Source

pub fn crimson(&self) -> &'static str

Source

pub fn cyan(&self) -> &'static str

Source

pub fn dark_blue(&self) -> &'static str

Source

pub fn dark_cyan(&self) -> &'static str

Source

pub fn dark_golden_rod(&self) -> &'static str

Source

pub fn dark_grey(&self) -> &'static str

Source

pub fn dark_green(&self) -> &'static str

Source

pub fn dark_khaki(&self) -> &'static str

Source

pub fn dark_magenta(&self) -> &'static str

Source

pub fn dark_olive_green(&self) -> &'static str

Source

pub fn darkorange(&self) -> &'static str

Source

pub fn dark_orchid(&self) -> &'static str

Source

pub fn dark_red(&self) -> &'static str

Source

pub fn dark_salmon(&self) -> &'static str

Source

pub fn dark_sea_green(&self) -> &'static str

Source

pub fn dark_slate_blue(&self) -> &'static str

Source

pub fn dark_slate_grey(&self) -> &'static str

Source

pub fn dark_turquoise(&self) -> &'static str

Source

pub fn dark_violet(&self) -> &'static str

Source

pub fn deep_pink(&self) -> &'static str

Source

pub fn deep_sky_blue(&self) -> &'static str

Source

pub fn dim_gray(&self) -> &'static str

Source

pub fn dodger_blue(&self) -> &'static str

Source

pub fn fire_brick(&self) -> &'static str

Source

pub fn floral_white(&self) -> &'static str

Source

pub fn forest_green(&self) -> &'static str

Source

pub fn fuchsia(&self) -> &'static str

Source

pub fn gainsboro(&self) -> &'static str

Source

pub fn ghost_white(&self) -> &'static str

Source

pub fn gold(&self) -> &'static str

Source

pub fn golden_rod(&self) -> &'static str

Source

pub fn grey(&self) -> &'static str

Source

pub fn green(&self) -> &'static str

Source

pub fn green_yellow(&self) -> &'static str

Source

pub fn honey_dew(&self) -> &'static str

Source

pub fn hot_pink(&self) -> &'static str

Source

pub fn indian_red(&self) -> &'static str

Source

pub fn indigo(&self) -> &'static str

Source

pub fn ivory(&self) -> &'static str

Source

pub fn khaki(&self) -> &'static str

Source

pub fn lavender(&self) -> &'static str

Source

pub fn lavender_blush(&self) -> &'static str

Source

pub fn lawn_green(&self) -> &'static str

Source

pub fn lemon_chiffon(&self) -> &'static str

Source

pub fn light_blue(&self) -> &'static str

Source

pub fn light_coral(&self) -> &'static str

Source

pub fn light_cyan(&self) -> &'static str

Source

pub fn light_golden_rod_yellow(&self) -> &'static str

Source

pub fn light_grey(&self) -> &'static str

Source

pub fn light_green(&self) -> &'static str

Source

pub fn light_pink(&self) -> &'static str

Source

pub fn light_salmon(&self) -> &'static str

Source

pub fn light_sea_green(&self) -> &'static str

Source

pub fn light_sky_blue(&self) -> &'static str

Source

pub fn light_slate_grey(&self) -> &'static str

Source

pub fn light_steel_blue(&self) -> &'static str

Source

pub fn light_yellow(&self) -> &'static str

Source

pub fn lime(&self) -> &'static str

Source

pub fn lime_green(&self) -> &'static str

Source

pub fn linen(&self) -> &'static str

Source

pub fn magenta(&self) -> &'static str

Source

pub fn maroon(&self) -> &'static str

Source

pub fn medium_aqua_marine(&self) -> &'static str

Source

pub fn medium_blue(&self) -> &'static str

Source

pub fn medium_orchid(&self) -> &'static str

Source

pub fn medium_purple(&self) -> &'static str

Source

pub fn medium_sea_green(&self) -> &'static str

Source

pub fn medium_slate_blue(&self) -> &'static str

Source

pub fn medium_spring_green(&self) -> &'static str

Source

pub fn medium_turquoise(&self) -> &'static str

Source

pub fn medium_violet_red(&self) -> &'static str

Source

pub fn midnight_blue(&self) -> &'static str

Source

pub fn mint_cream(&self) -> &'static str

Source

pub fn misty_rose(&self) -> &'static str

Source

pub fn moccasin(&self) -> &'static str

Source

pub fn navajo_white(&self) -> &'static str

Source

pub fn navy(&self) -> &'static str

Source

pub fn old_lace(&self) -> &'static str

Source

pub fn olive(&self) -> &'static str

Source

pub fn olive_drab(&self) -> &'static str

Source

pub fn orange(&self) -> &'static str

Source

pub fn orange_red(&self) -> &'static str

Source

pub fn orchid(&self) -> &'static str

Source

pub fn pale_golden_rod(&self) -> &'static str

Source

pub fn pale_green(&self) -> &'static str

Source

pub fn pale_turquoise(&self) -> &'static str

Source

pub fn pale_violet_red(&self) -> &'static str

Source

pub fn papaya_whip(&self) -> &'static str

Source

pub fn peach_puff(&self) -> &'static str

Source

pub fn peru(&self) -> &'static str

Source

pub fn pink(&self) -> &'static str

Source

pub fn plum(&self) -> &'static str

Source

pub fn powder_blue(&self) -> &'static str

Source

pub fn purple(&self) -> &'static str

Source

pub fn red(&self) -> &'static str

Source

pub fn rosy_brown(&self) -> &'static str

Source

pub fn royal_blue(&self) -> &'static str

Source

pub fn saddle_brown(&self) -> &'static str

Source

pub fn salmon(&self) -> &'static str

Source

pub fn sandy_brown(&self) -> &'static str

Source

pub fn sea_green(&self) -> &'static str

Source

pub fn sea_shell(&self) -> &'static str

Source

pub fn sienna(&self) -> &'static str

Source

pub fn silver(&self) -> &'static str

Source

pub fn sky_blue(&self) -> &'static str

Source

pub fn slate_blue(&self) -> &'static str

Source

pub fn slate_grey(&self) -> &'static str

Source

pub fn snow(&self) -> &'static str

Source

pub fn spring_green(&self) -> &'static str

Source

pub fn steel_blue(&self) -> &'static str

Source

pub fn tan(&self) -> &'static str

Source

pub fn teal(&self) -> &'static str

Source

pub fn thistle(&self) -> &'static str

Source

pub fn tomato(&self) -> &'static str

Source

pub fn turquoise(&self) -> &'static str

Source

pub fn violet(&self) -> &'static str

Source

pub fn wheat(&self) -> &'static str

Source

pub fn white(&self) -> &'static str

Source

pub fn white_smoke(&self) -> &'static str

Source

pub fn yellow(&self) -> &'static str

Source

pub fn yellow_green(&self) -> &'static str

Trait Implementations§

Source§

impl Default for ColorTool

Source§

fn default() -> Self

Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

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

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

Source§

fn vzip(self) -> V

Source§

impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
where ST: ?Sized, DT: ?Sized,

Source§

impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
where ST: ?Sized, DT: ?Sized,

Source§

impl<T> Read<Exclusive, BecauseExclusive> for T
where T: ?Sized,