[][src]Struct palett::types::Card

pub struct Card {
    pub base: &'static str,
    pub lighten_5: &'static str,
    pub lighten_4: &'static str,
    pub lighten_3: &'static str,
    pub lighten_2: &'static str,
    pub lighten_1: &'static str,
    pub darken_1: &'static str,
    pub darken_2: &'static str,
    pub darken_3: &'static str,
    pub darken_4: &'static str,
    pub accent_1: &'static str,
    pub accent_2: &'static str,
    pub accent_3: &'static str,
    pub accent_4: &'static str,
}

Fields

base: &'static strlighten_5: &'static strlighten_4: &'static strlighten_3: &'static strlighten_2: &'static strlighten_1: &'static strdarken_1: &'static strdarken_2: &'static strdarken_3: &'static strdarken_4: &'static straccent_1: &'static straccent_2: &'static straccent_3: &'static straccent_4: &'static str

Implementations

impl Card[src]

pub fn to_hashmap(&self) -> HashMap<&str, &str>[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, 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.