Skip to main content

WindowHandle

Trait WindowHandle 

Source
pub trait WindowHandle:
    HasWindowHandle
    + HasDisplayHandle
    + WasmNotSendSync { }
Available on crate feature unstable-wgpu-28 only.
Expand description

Super trait for window handles as used in SurfaceTarget.

Trait Implementations§

§

impl From<Box<dyn WindowHandle>> for SurfaceTarget

§

fn from(handle: Box<dyn WindowHandle>) -> 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".

Implementors§