Skip to main content

CompositionShapeHooks

Trait CompositionShapeHooks 

Source
pub trait CompositionShapeHooks: ICompositionObjectHost {
Show 16 methods // Provided methods fn initialize_defaults_extra(&self) { ... } fn validate_center_point_change( &self, _old_value: Vector, _new_value: Vector, ) { ... } fn on_center_point_changed(&self) { ... } fn on_center_point_changing(&self) { ... } fn validate_offset_change(&self, _old_value: Vector, _new_value: Vector) { ... } fn on_offset_changed(&self) { ... } fn on_offset_changing(&self) { ... } fn validate_rotation_angle_change(&self, _old_value: f32, _new_value: f32) { ... } fn on_rotation_angle_changed(&self) { ... } fn on_rotation_angle_changing(&self) { ... } fn validate_scale_change(&self, _old_value: Vector, _new_value: Vector) { ... } fn on_scale_changed(&self) { ... } fn on_scale_changing(&self) { ... } fn validate_transform_matrix_change( &self, _old_value: Matrix, _new_value: Matrix, ) { ... } fn on_transform_matrix_changed(&self) { ... } fn on_transform_matrix_changing(&self) { ... }
}
Expand description

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