Trait Vulkan Display Ext
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
Provided Methods§
Sourcefn create_window(&self) -> Option<VulkanWindow>
fn create_window(&self) -> Option<VulkanWindow>
§Returns
a new VulkanWindow for self or
None.
Sourcefn handle_type(&self) -> VulkanDisplayType
fn handle_type(&self) -> VulkanDisplayType
§Returns
the VulkanDisplayType of self
Sourcefn remove_window(&self, window: &impl IsA<VulkanWindow>) -> bool
fn remove_window(&self, window: &impl IsA<VulkanWindow>) -> bool
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.