Skip to main content

ServerCompositionSimpleBrushHooks

Trait ServerCompositionSimpleBrushHooks 

Source
pub trait ServerCompositionSimpleBrushHooks: IServerPropertyHost {
    // Provided methods
    fn deserialize_changes_extra(&self, _reader: &mut BatchStreamReader<'_>) { ... }
    fn on_fields_deserialized(
        &self,
        _changed: CompositionSimpleBrushChangedFields,
    ) { ... }
    fn on_opacity_changed(&self) { ... }
    fn on_opacity_changing(&self) { ... }
    fn on_transform_origin_changed(&self) { ... }
    fn on_transform_origin_changing(&self) { ... }
    fn on_transform_changed(&self) { ... }
    fn on_transform_changing(&self) { ... }
    fn on_relative_transform_changed(&self) { ... }
    fn on_relative_transform_changing(&self) { ... }
}
Expand description

The partial methods of ServerCompositionSimpleBrush: implemented by the class that embeds ServerCompositionSimpleBrushProps. 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§