Skip to main content

ServerCompositionContainerShapeHooks

Trait ServerCompositionContainerShapeHooks 

Source
pub trait ServerCompositionContainerShapeHooks: ServerCompositionShapeHooks {
    // Provided methods
    fn deserialize_changes_extra(&self, _reader: &mut BatchStreamReader<'_>) { ... }
    fn on_fields_deserialized(
        &self,
        _changed: CompositionContainerShapeChangedFields,
    ) { ... }
    fn on_shapes_changed(&self) { ... }
    fn on_shapes_changing(&self) { ... }
}
Expand description

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