Skip to main content

DropShadowHooks

Trait DropShadowHooks 

Source
pub trait DropShadowHooks: ICompositionObjectHost {
Show 19 methods // Provided methods fn initialize_defaults_extra(&self) { ... } fn validate_blur_radius_change(&self, _old_value: f32, _new_value: f32) { ... } fn on_blur_radius_changed(&self) { ... } fn on_blur_radius_changing(&self) { ... } fn validate_color_change(&self, _old_value: Color, _new_value: Color) { ... } fn on_color_changed(&self) { ... } fn on_color_changing(&self) { ... } fn validate_mask_change( &self, _old_value: &Option<Rc<dyn ICompositionObject>>, _new_value: &Option<Rc<dyn ICompositionObject>>, ) { ... } fn on_mask_changed(&self) { ... } fn on_mask_changing(&self) { ... } fn validate_offset_change(&self, _old_value: Vector3D, _new_value: Vector3D) { ... } fn on_offset_changed(&self) { ... } fn on_offset_changing(&self) { ... } fn validate_opacity_change(&self, _old_value: f32, _new_value: f32) { ... } fn on_opacity_changed(&self) { ... } fn on_opacity_changing(&self) { ... } fn validate_source_policy_change( &self, _old_value: CompositionDropShadowSourcePolicy, _new_value: CompositionDropShadowSourcePolicy, ) { ... } fn on_source_policy_changed(&self) { ... } fn on_source_policy_changing(&self) { ... }
}
Expand description

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

Source§

impl DropShadowHooks for DropShadow

InitializeDefaultsExtra activates the server object: done when the server object is created.