VulkanDisplayExt

Trait VulkanDisplayExt 

Source
pub trait VulkanDisplayExt: IsA<VulkanDisplay> + 'static {
    // Provided methods
    fn create_window(&self) -> Option<VulkanWindow> { ... }
    fn handle_type(&self) -> VulkanDisplayType { ... }
    fn remove_window(&self, window: &impl IsA<VulkanWindow>) -> bool { ... }
}
Expand description

Trait containing all VulkanDisplay methods.

§Implementors

VulkanDisplay

Provided Methods§

Source

fn create_window(&self) -> Option<VulkanWindow>

§Returns

a new VulkanWindow for self or None.

Source

fn handle_type(&self) -> VulkanDisplayType

§Returns

the VulkanDisplayType of self

Source

fn remove_window(&self, window: &impl IsA<VulkanWindow>) -> bool

§window

the VulkanWindow to remove

§Returns

whether the window was successfully removed

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§