pub trait CompositionPathGeometryHooks: CompositionGeometryHooks {
// Provided methods
fn initialize_defaults_extra(&self) { ... }
fn validate_path_change(
&self,
_old_value: &Option<Arc<CompositionPath>>,
_new_value: &Option<Arc<CompositionPath>>,
) { ... }
fn on_path_changed(&self) { ... }
fn on_path_changing(&self) { ... }
}Expand description
The partial methods of CompositionPathGeometry: implemented by the class that embeds
CompositionPathGeometryProps. Every hook defaults to doing nothing.
Provided Methods§
fn initialize_defaults_extra(&self)
fn validate_path_change( &self, _old_value: &Option<Arc<CompositionPath>>, _new_value: &Option<Arc<CompositionPath>>, )
fn on_path_changed(&self)
fn on_path_changing(&self)
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".