Skip to main content

ServerCompositionSimpleLinearGradientBrushHooks

Trait ServerCompositionSimpleLinearGradientBrushHooks 

Source
pub trait ServerCompositionSimpleLinearGradientBrushHooks: IServerPropertyHost {
    // Required method
    fn base_deserialize_changes_core(
        &self,
        reader: &mut BatchStreamReader<'_>,
        committed_at: Duration,
    );

    // Provided methods
    fn deserialize_changes_extra(&self, _reader: &mut BatchStreamReader<'_>) { ... }
    fn on_fields_deserialized(
        &self,
        _changed: CompositionSimpleLinearGradientBrushChangedFields,
    ) { ... }
    fn on_start_point_changed(&self) { ... }
    fn on_start_point_changing(&self) { ... }
    fn on_end_point_changed(&self) { ... }
    fn on_end_point_changing(&self) { ... }
}
Expand description

The partial methods of ServerCompositionSimpleLinearGradientBrush: implemented by the class that embeds ServerCompositionSimpleLinearGradientBrushProps. Every hook defaults to doing nothing.

Required Methods§

Source

fn base_deserialize_changes_core( &self, reader: &mut BatchStreamReader<'_>, committed_at: Duration, )

base.DeserializeChangesCore(reader, committedAt): reads the changes of the hand-written base class ServerCompositionSimpleGradientBrush.

Provided Methods§

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§