Skip to main content

ComponentStyle

Trait ComponentStyle 

Source
pub trait ComponentStyle: Clone + Default {
    // Required method
    fn refine(&mut self, overlay: &Self);
}
Expand description

Sparse overlay semantics for a typed component style.

Required Methods§

Source

fn refine(&mut self, overlay: &Self)

Replace only the properties supplied by overlay.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§