[−][src]Struct orbtk_theming::config::ThemeConfig
Fields
styles: HashMap<String, StyleConfig>
resources: HashMap<String, Value>
Implementations
impl<'a> ThemeConfig
[src]
pub fn extend(self, other: ThemeConfig) -> Self
[src]
Extends the given theme with a other theme. Replaces the current name with name of other. If a style with the same key is on other, it will replace the style in the current theme.
pub fn property(&'a self, property: &str, selector: &Selector) -> Option<Value>
[src]
Gets a property by the given name and a selector.
Trait Implementations
impl Clone for ThemeConfig
[src]
fn clone(&self) -> ThemeConfig
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for ThemeConfig
[src]
impl Default for ThemeConfig
[src]
fn default() -> ThemeConfig
[src]
impl<'de> Deserialize<'de> for ThemeConfig
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl<'_> From<&'_ str> for ThemeConfig
[src]
impl Serialize for ThemeConfig
[src]
Auto Trait Implementations
impl RefUnwindSafe for ThemeConfig
impl Send for ThemeConfig
impl Sync for ThemeConfig
impl Unpin for ThemeConfig
impl UnwindSafe for ThemeConfig
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,