pub trait IServerCompositionSurface: IServerObject {
// Required methods
fn bitmap(&self) -> Option<Arc<SharedBitmapImpl>>;
fn changed(&self) -> &ServerCompositionSurfaceChanged;
}Expand description
Server-side counterpart of a composition surface: something that provides a bitmap to the surface visuals that show it.
Required Methods§
Sourcefn bitmap(&self) -> Option<Arc<SharedBitmapImpl>>
fn bitmap(&self) -> Option<Arc<SharedBitmapImpl>>
The current content of the surface.
Sourcefn changed(&self) -> &ServerCompositionSurfaceChanged
fn changed(&self) -> &ServerCompositionSurfaceChanged
Raised when the content changed.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".