Skip to main content

GPUSurfaceHandle

Trait GPUSurfaceHandle 

Source
pub trait GPUSurfaceHandle:
    HasWindowHandle
    + HasDisplayHandle
    + Send
    + Sync
    + Clone
    + 'static { }
Expand description

A window handle that can be used to create a GPU surface.

Automatically implemented for any type that implements HasWindowHandle, HasDisplayHandle, Send, Sync, and Clone.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<T> GPUSurfaceHandle for T
where T: HasWindowHandle + HasDisplayHandle + Send + Sync + Clone + 'static,