pub trait ServerCompositionSolidColorVisualHooks: IServerAnimatedPropertyHost {
// 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: CompositionSolidColorVisualChangedFields,
) { ... }
}Expand description
The partial methods of ServerCompositionSolidColorVisual: implemented by the class that embeds
ServerCompositionSolidColorVisualProps. Every hook defaults to doing nothing.
Required Methods§
Sourcefn base_deserialize_changes_core(
&self,
reader: &mut BatchStreamReader<'_>,
committed_at: Duration,
)
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 ServerSizeDependantVisual.
Provided Methods§
fn deserialize_changes_extra(&self, _reader: &mut BatchStreamReader<'_>)
fn on_fields_deserialized( &self, _changed: CompositionSolidColorVisualChangedFields, )
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".