pub trait DisplayAndWindowHandle: WindowHandle + HasDisplayHandle { }Available on crate feature
unstable-wgpu-29 only.Expand description
Super trait for a pair of display and window handles as used in SurfaceTarget.
Trait Implementations§
§impl From<Box<dyn DisplayAndWindowHandle>> for SurfaceTarget
impl From<Box<dyn DisplayAndWindowHandle>> for SurfaceTarget
§fn from(handle: Box<dyn DisplayAndWindowHandle>) -> SurfaceTarget
fn from(handle: Box<dyn DisplayAndWindowHandle>) -> SurfaceTarget
Converts to this type from the input type.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".