Variables

Struct Variables 

Source
pub struct Variables {
Show 45 fields pub accent_color: Variable, pub accent_bg_color: Variable, pub accent_fg_color: Variable, pub destructive_color: Variable, pub destructive_bg_color: Variable, pub destructive_fg_color: Variable, pub success_color: Variable, pub success_bg_color: Variable, pub success_fg_color: Variable, pub warning_color: Variable, pub warning_bg_color: Variable, pub warning_fg_color: Variable, pub error_color: Variable, pub error_bg_color: Variable, pub error_fg_color: Variable, pub window_bg_color: Variable, pub window_fg_color: Variable, pub view_bg_color: Variable, pub view_fg_color: Variable, pub headerbar_bg_color: Variable, pub headerbar_fg_color: Variable, pub headerbar_border_color: Variable, pub headerbar_backdrop_color: Variable, pub headerbar_shade_color: Variable, pub headerbar_darker_shade_color: Variable, pub card_bg_color: Variable, pub card_fg_color: Variable, pub card_shade_color: Variable, pub dialog_bg_color: Variable, pub dialog_fg_color: Variable, pub popover_bg_color: Variable, pub popover_fg_color: Variable, pub popover_shade_color: Variable, pub shade_color: Variable, pub scrollbar_outline_color: Variable, pub thumbnail_bg_color: Variable, pub thumbnail_fg_color: Variable, pub sidebar_bg_color: Variable, pub sidebar_fg_color: Variable, pub sidebar_backdrop_color: Variable, pub sidebar_shade_color: Variable, pub secondary_sidebar_bg_color: Variable, pub secondary_sidebar_fg_color: Variable, pub secondary_sidebar_backdrop_color: Variable, pub secondary_sidebar_shade_color: Variable,
}

Fields§

§accent_color: Variable§accent_bg_color: Variable§accent_fg_color: Variable§destructive_color: Variable§destructive_bg_color: Variable§destructive_fg_color: Variable§success_color: Variable§success_bg_color: Variable§success_fg_color: Variable§warning_color: Variable§warning_bg_color: Variable§warning_fg_color: Variable§error_color: Variable§error_bg_color: Variable§error_fg_color: Variable§window_bg_color: Variable§window_fg_color: Variable§view_bg_color: Variable§view_fg_color: Variable§headerbar_bg_color: Variable§headerbar_fg_color: Variable§headerbar_border_color: Variable§headerbar_backdrop_color: Variable§headerbar_shade_color: Variable§headerbar_darker_shade_color: Variable§card_bg_color: Variable§card_fg_color: Variable§card_shade_color: Variable§dialog_bg_color: Variable§dialog_fg_color: Variable§popover_bg_color: Variable§popover_fg_color: Variable§popover_shade_color: Variable§shade_color: Variable§scrollbar_outline_color: Variable§thumbnail_bg_color: Variable§thumbnail_fg_color: Variable§sidebar_bg_color: Variable§sidebar_fg_color: Variable§sidebar_backdrop_color: Variable§sidebar_shade_color: Variable§secondary_sidebar_bg_color: Variable§secondary_sidebar_fg_color: Variable§secondary_sidebar_backdrop_color: Variable§secondary_sidebar_shade_color: Variable

Implementations§

Source§

impl Variables

Source

pub fn get(&self, name: &VariablesName) -> &Variable

Source

pub fn iter(&self) -> VariablesIterator<'_>

Trait Implementations§

Source§

impl Clone for Variables

Source§

fn clone(&self) -> Variables

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for Variables

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for Variables

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Serialize for Variables

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. 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> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. 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> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
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<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,