pub trait ISwapchainImage {
// Required methods
fn size(&self) -> PixelSize;
fn last_present(&self) -> Option<SwapchainImagePresentStatus>;
fn begin_draw(&self);
fn present(&self);
fn dispose(&self);
}Expand description
An image of a composition-backed swapchain.
Required Methods§
fn size(&self) -> PixelSize
Sourcefn last_present(&self) -> Option<SwapchainImagePresentStatus>
fn last_present(&self) -> Option<SwapchainImagePresentStatus>
The state of the last presentation; None when the image has not
been presented yet.
fn begin_draw(&self)
fn present(&self)
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".