pub trait VulkanDeviceExt: IsA<VulkanDevice> + 'static {
// Provided methods
fn create_fence(&self) -> Result<Option<VulkanFence>, Error> { ... }
fn disable_extension(&self, name: &str) -> bool { ... }
fn enable_extension(&self, name: &str) -> bool { ... }
fn enable_layer(&self, name: &str) -> bool { ... }
fn foreach_queue<P: FnMut(&VulkanDevice, &VulkanQueue) -> bool>(
&self,
func: P,
) { ... }
fn instance(&self) -> Option<VulkanInstance> { ... }
fn queue(&self, queue_family: u32, queue_i: u32) -> VulkanQueue { ... }
fn is_extension_enabled(&self, name: &str) -> bool { ... }
fn is_layer_enabled(&self, name: &str) -> bool { ... }
fn open(&self) -> Result<(), Error> { ... }
fn connect_instance_notify<F: Fn(&Self) + Send + Sync + 'static>(
&self,
f: F,
) -> SignalHandlerId { ... }
}Provided Methods§
fn create_fence(&self) -> Result<Option<VulkanFence>, Error>
fn disable_extension(&self, name: &str) -> bool
fn enable_extension(&self, name: &str) -> bool
fn enable_layer(&self, name: &str) -> bool
fn foreach_queue<P: FnMut(&VulkanDevice, &VulkanQueue) -> bool>(&self, func: P)
fn instance(&self) -> Option<VulkanInstance>
fn queue(&self, queue_family: u32, queue_i: u32) -> VulkanQueue
fn is_extension_enabled(&self, name: &str) -> bool
fn is_layer_enabled(&self, name: &str) -> bool
fn open(&self) -> Result<(), Error>
fn connect_instance_notify<F: Fn(&Self) + Send + Sync + 'static>( &self, f: F, ) -> SignalHandlerId
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".