pub trait ICompositionDrawListVisualExtension: 'static {
// Required method
fn serialize_changes_core(&self, writer: &mut BatchStreamWriter<'_>);
}Expand description
What a class derived from the draw list visual outside of this module (the custom composition visual of a control) adds to its UI-thread side: the serialization of its own changes.
Required Methods§
Sourcefn serialize_changes_core(&self, writer: &mut BatchStreamWriter<'_>)
fn serialize_changes_core(&self, writer: &mut BatchStreamWriter<'_>)
SerializeChangesCore of the derived class: called after the draw
list visual has written its own changes. What is written here is read
by the server content of the visual, after the changes of the draw
list visual.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".