pub trait CompositionSolidColorBrushHooks: CompositionBrushHooks {
// Provided methods
fn initialize_defaults_extra(&self) { ... }
fn validate_color_change(&self, _old_value: Color, _new_value: Color) { ... }
fn on_color_changed(&self) { ... }
fn on_color_changing(&self) { ... }
}Expand description
The partial methods of CompositionSolidColorBrush: implemented by the class that embeds
CompositionSolidColorBrushProps. Every hook defaults to doing nothing.
Provided Methods§
fn initialize_defaults_extra(&self)
fn validate_color_change(&self, _old_value: Color, _new_value: Color)
fn on_color_changed(&self)
fn on_color_changing(&self)
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".