pub(super) trait SurfaceTextureMetadata:
Debug
+ Send
+ Sync
+ 'static {
// Required methods
fn get_semaphore_guard(
&self,
) -> Box<dyn SwapchainSubmissionSemaphoreGuard + '_>;
fn as_any(&self) -> &dyn Any;
}Expand description
Swapchain specific metadata associated with a surface texture.
Required Methods§
Sourcefn get_semaphore_guard(&self) -> Box<dyn SwapchainSubmissionSemaphoreGuard + '_>
fn get_semaphore_guard(&self) -> Box<dyn SwapchainSubmissionSemaphoreGuard + '_>
Returns a guard which can yield the semaphores needed for submission using this swapchain texture.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".