[][src]Enum solitaire_core::profile::Theme

pub enum Theme {
    Light,
    Dark,
}

The user's theme, initially just light and dark

Variants

Light
Dark

Methods

impl Theme[src]

pub fn all() -> Vec<Theme>[src]

pub fn default_navbar_color(&self) -> String[src]

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

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

Trait Implementations

impl Clone for Theme[src]

impl PartialEq<Theme> for Theme[src]

impl Debug for Theme[src]

impl Display for Theme[src]

impl FromStr for Theme[src]

type Err = Error

The associated error which can be returned from parsing.

impl StructuralPartialEq for Theme[src]

impl Serialize for Theme[src]

impl<'de> Deserialize<'de> for Theme[src]

Auto Trait Implementations

impl Send for Theme

impl Sync for Theme

impl Unpin for Theme

impl UnwindSafe for Theme

impl RefUnwindSafe for Theme

Blanket Implementations

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> ToString for T where
    T: Display + ?Sized
[src]

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

type Error = !

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.

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

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

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

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

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