#[non_exhaustive]#[repr(u32)]pub enum VkComponentSwizzle {
VK_COMPONENT_SWIZZLE_IDENTITY = 0,
VK_COMPONENT_SWIZZLE_ZERO = 1,
VK_COMPONENT_SWIZZLE_ONE = 2,
VK_COMPONENT_SWIZZLE_R = 3,
VK_COMPONENT_SWIZZLE_G = 4,
VK_COMPONENT_SWIZZLE_B = 5,
VK_COMPONENT_SWIZZLE_A = 6,
VK_COMPONENT_SWIZZLE_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_COMPONENT_SWIZZLE_IDENTITY = 0
VK_COMPONENT_SWIZZLE_ZERO = 1
VK_COMPONENT_SWIZZLE_ONE = 2
VK_COMPONENT_SWIZZLE_R = 3
VK_COMPONENT_SWIZZLE_G = 4
VK_COMPONENT_SWIZZLE_B = 5
VK_COMPONENT_SWIZZLE_A = 6
VK_COMPONENT_SWIZZLE_MAX_ENUM = 2_147_483_647
Trait Implementations§
Source§impl Clone for VkComponentSwizzle
impl Clone for VkComponentSwizzle
Source§fn clone(&self) -> VkComponentSwizzle
fn clone(&self) -> VkComponentSwizzle
Returns a copy 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 VkComponentSwizzle
impl Debug for VkComponentSwizzle
Source§impl Hash for VkComponentSwizzle
impl Hash for VkComponentSwizzle
Source§impl PartialEq for VkComponentSwizzle
impl PartialEq for VkComponentSwizzle
impl Copy for VkComponentSwizzle
impl Eq for VkComponentSwizzle
impl StructuralPartialEq for VkComponentSwizzle
Auto Trait Implementations§
impl Freeze for VkComponentSwizzle
impl RefUnwindSafe for VkComponentSwizzle
impl Send for VkComponentSwizzle
impl Sync for VkComponentSwizzle
impl Unpin for VkComponentSwizzle
impl UnwindSafe for VkComponentSwizzle
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