pub trait ServerCompositionTargetHooks: IServerAnimatedPropertyHost {
Show 18 methods
// Provided methods
fn deserialize_changes_extra(&self, _reader: &mut BatchStreamReader<'_>) { ... }
fn on_fields_deserialized(&self, _changed: CompositionTargetChangedFields) { ... }
fn on_root_changed(&self) { ... }
fn on_root_changing(&self) { ... }
fn on_is_enabled_changed(&self) { ... }
fn on_is_enabled_changing(&self) { ... }
fn on_debug_overlays_changed(&self) { ... }
fn on_debug_overlays_changing(&self) { ... }
fn on_last_layout_pass_timing_changed(&self) { ... }
fn on_last_layout_pass_timing_changing(&self) { ... }
fn on_scaling_changed(&self) { ... }
fn on_scaling_changing(&self) { ... }
fn on_size_changed(&self) { ... }
fn on_size_changing(&self) { ... }
fn on_transparency_level_changed(&self) { ... }
fn on_transparency_level_changing(&self) { ... }
fn on_platform_specific_scene_info_changed(&self) { ... }
fn on_platform_specific_scene_info_changing(&self) { ... }
}Expand description
The partial methods of ServerCompositionTarget: implemented by the class that embeds
ServerCompositionTargetProps. Every hook defaults to doing nothing.
Provided Methods§
fn deserialize_changes_extra(&self, _reader: &mut BatchStreamReader<'_>)
fn on_fields_deserialized(&self, _changed: CompositionTargetChangedFields)
fn on_root_changed(&self)
fn on_root_changing(&self)
fn on_is_enabled_changed(&self)
fn on_is_enabled_changing(&self)
fn on_debug_overlays_changed(&self)
fn on_debug_overlays_changing(&self)
fn on_last_layout_pass_timing_changed(&self)
fn on_last_layout_pass_timing_changing(&self)
fn on_scaling_changed(&self)
fn on_scaling_changing(&self)
fn on_size_changed(&self)
fn on_size_changing(&self)
fn on_transparency_level_changed(&self)
fn on_transparency_level_changing(&self)
fn on_platform_specific_scene_info_changed(&self)
fn on_platform_specific_scene_info_changing(&self)
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".