Enum wai::dynamic::WindowSystem
[−]
[src]
pub enum WindowSystem { X11(Context), }
Variants
X11(Context)
Trait Implementations
impl Wrapper for WindowSystem
[src]
type Native = NativeWindowSystem
fn get_native(&self) -> Self::Native
impl WindowSystem for WindowSystem
[src]
type WindowID = WindowID
type DeviceID = DeviceID
type EventStream = Events
fn open(handle: &Handle) -> Result<(Self, Self::EventStream)>
fn new_window(
&self,
position: (i32, i32),
size: (u32, u32),
name: Option<&str>
) -> Self::WindowID
&self,
position: (i32, i32),
size: (u32, u32),
name: Option<&str>
) -> Self::WindowID
unsafe fn create_vulkan_surface(
&self,
instance: &Arc<Instance>,
window: Self::WindowID
) -> Result<Arc<Surface>, SurfaceCreationError>
&self,
instance: &Arc<Instance>,
window: Self::WindowID
) -> Result<Arc<Surface>, SurfaceCreationError>