logo

Enums

Error that can happen when creating a window.

Traits

An alternative to Borrow<T> with the requirement that all calls to borrow return the same object.

Functions

Creates a vulkan surface from a generic window which implements HasRawWindowHandle and thus can reveal the os-dependent handle.
Create a surface from a Winit window or a reference to it. The surface takes W to prevent it from being dropped before the surface.