pub unsafe fn build(self, instance: &Instance) -> Result<Device, DeviceError> {
        // SAFETY(VUID-VkDeviceCreateInfo-pNext-pNext): None means the pNext field is a null pointer
        //
        // DevicePrivateDataCreateInfoEXT is used for monomorphization purposes. None is passed as the
        // extension, so the generic should be ignored.
        unsafe { self.build_impl::<DevicePrivateDataCreateInfoEXT>(instance, None) }
    }
/// Returns a new device using the parameters passed into the builder.
///
/// # Safety
///
/// The valid usage requirement for vkCreateDevice, `VUID-vkCreateDevice-ppEnabledExtensionNames-01387`,
/// states all enabled extensions must also enable the required dependencies.
///
/// <https://www.khronos.org/registry/vulkan/specs/1.3-extensions/html/vkspec.html#extendingvulkan-extensions-extensiondependencies>
Returns a new device using the parameters passed into the builder.
Returns a new device using the parameters passed into the builder .
pub unsafe fn build(self, instance: &Instance) -> Result<Device, DeviceError> {
        // SAFETY(VUID-VkDeviceCreateInfo-pNext-pNext): None means the pNext field is a null pointer
        //
        // DevicePrivateDataCreateInfoEXT is used for monomorphization purposes. None is passed as the
        // extension, so the generic should be ignored.
        unsafe { self.build_impl::<DevicePrivateDataCreateInfoEXT>(instance, None) }
    }
pub unsafe fn build ( self , instance : & Instance ) -> Result < Device , DeviceError > { // SAFETY(VUID-VkDeviceCreateInfo-pNext-pNext): None means the pNext field is a null pointer // // DevicePrivateDataCreateInfoEXT is used for monomorphization purposes. None is passed as the // extension, so the generic should be ignored. unsafe { self . build_impl :: < DevicePrivateDataCreateInfoEXT > ( instance , None ) } }
Returns a new device using the parameters passed into the builder.
Returns a new device using the parameters passed into the builder .
self
instance
&Instance
safety
The valid usage requirement for vkCreateDevice, `VUID-vkCreateDevice-ppEnabledExtensionNames-01387`,
states all enabled extensions must also enable the required dependencies.


The valid usage requirement for vkCreateDevice ` VUID - vkCreateDevice - ppEnabledExtensionNames - 01387 ` states all enabled extensions must also enable the required dependencies .