Skip to main content

ServerCompositionVisualSurfaceHooks

Trait ServerCompositionVisualSurfaceHooks 

Source
pub trait ServerCompositionVisualSurfaceHooks: IServerAnimatedPropertyHost {
    // Provided methods
    fn deserialize_changes_extra(&self, _reader: &mut BatchStreamReader<'_>) { ... }
    fn on_fields_deserialized(
        &self,
        _changed: CompositionVisualSurfaceChangedFields,
    ) { ... }
    fn on_source_visual_changed(&self) { ... }
    fn on_source_visual_changing(&self) { ... }
}
Expand description

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