Skip to main content

IServerCompositionSurface

Trait IServerCompositionSurface 

Source
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§

Source

fn bitmap(&self) -> Option<Arc<SharedBitmapImpl>>

The current content of the surface.

Source

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".

Implementors§