Skip to main content

ServerCompositionSimpleSolidColorBrushHooks

Trait ServerCompositionSimpleSolidColorBrushHooks 

Source
pub trait ServerCompositionSimpleSolidColorBrushHooks: ServerCompositionSimpleBrushHooks {
    // Provided methods
    fn deserialize_changes_extra(&self, _reader: &mut BatchStreamReader<'_>) { ... }
    fn on_fields_deserialized(
        &self,
        _changed: CompositionSimpleSolidColorBrushChangedFields,
    ) { ... }
    fn on_color_changed(&self) { ... }
    fn on_color_changing(&self) { ... }
}
Expand description

The partial methods of ServerCompositionSimpleSolidColorBrush: implemented by the class that embeds ServerCompositionSimpleSolidColorBrushProps. Every hook defaults to doing nothing.

Provided Methods§

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§