[][src]Struct azul_css::HotReloadOverrideHandler

pub struct HotReloadOverrideHandler {
    pub base_style: Css,
    pub hot_reloader: Box<dyn HotReloadHandler>,
}

Custom hot-reloader combinator that can be used to merge hot-reloaded styles onto a base style. Can be useful when working from a base configuration, such as the OS-native styles.

Fields

base_style: Css

The base style, usually provided by azul-native-style.

hot_reloader: Box<dyn HotReloadHandler>

The style that will be added on top of the base_style.

Implementations

impl HotReloadOverrideHandler[src]

pub fn new(base_style: Css, hot_reloader: Box<dyn HotReloadHandler>) -> Self[src]

Creates a new HotReloadHandler that merges styles onto the given base style (usually the system-native style, in order to let the user override properties).

Trait Implementations

impl HotReloadHandler for HotReloadOverrideHandler[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.