#[non_exhaustive]#[repr(u32)]pub enum VkPhysicalDeviceType {
VK_PHYSICAL_DEVICE_TYPE_OTHER = 0,
VK_PHYSICAL_DEVICE_TYPE_INTEGRATED_GPU = 1,
VK_PHYSICAL_DEVICE_TYPE_DISCRETE_GPU = 2,
VK_PHYSICAL_DEVICE_TYPE_VIRTUAL_GPU = 3,
VK_PHYSICAL_DEVICE_TYPE_CPU = 4,
VK_PHYSICAL_DEVICE_TYPE_MAX_ENUM = 2_147_483_647,
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
VK_PHYSICAL_DEVICE_TYPE_OTHER = 0
VK_PHYSICAL_DEVICE_TYPE_INTEGRATED_GPU = 1
VK_PHYSICAL_DEVICE_TYPE_DISCRETE_GPU = 2
VK_PHYSICAL_DEVICE_TYPE_VIRTUAL_GPU = 3
VK_PHYSICAL_DEVICE_TYPE_CPU = 4
VK_PHYSICAL_DEVICE_TYPE_MAX_ENUM = 2_147_483_647
Trait Implementations§
Source§impl Clone for VkPhysicalDeviceType
impl Clone for VkPhysicalDeviceType
Source§fn clone(&self) -> VkPhysicalDeviceType
fn clone(&self) -> VkPhysicalDeviceType
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for VkPhysicalDeviceType
impl Debug for VkPhysicalDeviceType
Source§impl Hash for VkPhysicalDeviceType
impl Hash for VkPhysicalDeviceType
Source§impl PartialEq for VkPhysicalDeviceType
impl PartialEq for VkPhysicalDeviceType
impl Copy for VkPhysicalDeviceType
impl Eq for VkPhysicalDeviceType
impl StructuralPartialEq for VkPhysicalDeviceType
Auto Trait Implementations§
impl Freeze for VkPhysicalDeviceType
impl RefUnwindSafe for VkPhysicalDeviceType
impl Send for VkPhysicalDeviceType
impl Sync for VkPhysicalDeviceType
impl Unpin for VkPhysicalDeviceType
impl UnwindSafe for VkPhysicalDeviceType
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more