Skip to main content

CompositionContainerShapeHooks

Trait CompositionContainerShapeHooks 

Source
pub trait CompositionContainerShapeHooks: CompositionShapeHooks {
    // Provided methods
    fn initialize_defaults_extra(&self) { ... }
    fn validate_shapes_change(
        &self,
        _old_value: &Option<Rc<dyn ICompositionObject>>,
        _new_value: &Option<Rc<dyn ICompositionObject>>,
    ) { ... }
    fn on_shapes_changed(&self) { ... }
    fn on_shapes_changing(&self) { ... }
}
Expand description

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