#[non_exhaustive]#[repr(u32)]pub enum VkCompareOp {
VK_COMPARE_OP_NEVER = 0,
VK_COMPARE_OP_LESS = 1,
VK_COMPARE_OP_EQUAL = 2,
VK_COMPARE_OP_LESS_OR_EQUAL = 3,
VK_COMPARE_OP_GREATER = 4,
VK_COMPARE_OP_NOT_EQUAL = 5,
VK_COMPARE_OP_GREATER_OR_EQUAL = 6,
VK_COMPARE_OP_ALWAYS = 7,
VK_COMPARE_OP_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_COMPARE_OP_NEVER = 0
VK_COMPARE_OP_LESS = 1
VK_COMPARE_OP_EQUAL = 2
VK_COMPARE_OP_LESS_OR_EQUAL = 3
VK_COMPARE_OP_GREATER = 4
VK_COMPARE_OP_NOT_EQUAL = 5
VK_COMPARE_OP_GREATER_OR_EQUAL = 6
VK_COMPARE_OP_ALWAYS = 7
VK_COMPARE_OP_MAX_ENUM = 2_147_483_647
Trait Implementations§
Source§impl Clone for VkCompareOp
impl Clone for VkCompareOp
Source§fn clone(&self) -> VkCompareOp
fn clone(&self) -> VkCompareOp
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 VkCompareOp
impl Debug for VkCompareOp
Source§impl Hash for VkCompareOp
impl Hash for VkCompareOp
Source§impl PartialEq for VkCompareOp
impl PartialEq for VkCompareOp
impl Copy for VkCompareOp
impl Eq for VkCompareOp
impl StructuralPartialEq for VkCompareOp
Auto Trait Implementations§
impl Freeze for VkCompareOp
impl RefUnwindSafe for VkCompareOp
impl Send for VkCompareOp
impl Sync for VkCompareOp
impl Unpin for VkCompareOp
impl UnwindSafe for VkCompareOp
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