#[non_exhaustive]#[repr(u32)]pub enum VkPresentModeKHR {
VK_PRESENT_MODE_IMMEDIATE_KHR = 0,
VK_PRESENT_MODE_MAILBOX_KHR = 1,
VK_PRESENT_MODE_FIFO_KHR = 2,
VK_PRESENT_MODE_FIFO_RELAXED_KHR = 3,
VK_PRESENT_MODE_SHARED_DEMAND_REFRESH_KHR = 1_000_111_000,
VK_PRESENT_MODE_SHARED_CONTINUOUS_REFRESH_KHR = 1_000_111_001,
VK_PRESENT_MODE_MAX_ENUM_KHR = 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_PRESENT_MODE_IMMEDIATE_KHR = 0
VK_PRESENT_MODE_MAILBOX_KHR = 1
VK_PRESENT_MODE_FIFO_KHR = 2
VK_PRESENT_MODE_FIFO_RELAXED_KHR = 3
VK_PRESENT_MODE_SHARED_DEMAND_REFRESH_KHR = 1_000_111_000
VK_PRESENT_MODE_SHARED_CONTINUOUS_REFRESH_KHR = 1_000_111_001
VK_PRESENT_MODE_MAX_ENUM_KHR = 2_147_483_647
Trait Implementations§
Source§impl Clone for VkPresentModeKHR
impl Clone for VkPresentModeKHR
Source§fn clone(&self) -> VkPresentModeKHR
fn clone(&self) -> VkPresentModeKHR
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 VkPresentModeKHR
impl Debug for VkPresentModeKHR
Source§impl Hash for VkPresentModeKHR
impl Hash for VkPresentModeKHR
Source§impl PartialEq for VkPresentModeKHR
impl PartialEq for VkPresentModeKHR
impl Copy for VkPresentModeKHR
impl Eq for VkPresentModeKHR
impl StructuralPartialEq for VkPresentModeKHR
Auto Trait Implementations§
impl Freeze for VkPresentModeKHR
impl RefUnwindSafe for VkPresentModeKHR
impl Send for VkPresentModeKHR
impl Sync for VkPresentModeKHR
impl Unpin for VkPresentModeKHR
impl UnwindSafe for VkPresentModeKHR
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