#[non_exhaustive]#[repr(u32)]pub enum VkColorComponentFlagBits {
VK_COLOR_COMPONENT_R_BIT = 1,
VK_COLOR_COMPONENT_G_BIT = 2,
VK_COLOR_COMPONENT_B_BIT = 4,
VK_COLOR_COMPONENT_A_BIT = 8,
VK_COLOR_COMPONENT_FLAG_BITS_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_COLOR_COMPONENT_R_BIT = 1
VK_COLOR_COMPONENT_G_BIT = 2
VK_COLOR_COMPONENT_B_BIT = 4
VK_COLOR_COMPONENT_A_BIT = 8
VK_COLOR_COMPONENT_FLAG_BITS_MAX_ENUM = 2_147_483_647
Trait Implementations§
Source§impl Clone for VkColorComponentFlagBits
impl Clone for VkColorComponentFlagBits
Source§fn clone(&self) -> VkColorComponentFlagBits
fn clone(&self) -> VkColorComponentFlagBits
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 VkColorComponentFlagBits
impl Debug for VkColorComponentFlagBits
Source§impl Hash for VkColorComponentFlagBits
impl Hash for VkColorComponentFlagBits
Source§impl PartialEq for VkColorComponentFlagBits
impl PartialEq for VkColorComponentFlagBits
impl Copy for VkColorComponentFlagBits
impl Eq for VkColorComponentFlagBits
impl StructuralPartialEq for VkColorComponentFlagBits
Auto Trait Implementations§
impl Freeze for VkColorComponentFlagBits
impl RefUnwindSafe for VkColorComponentFlagBits
impl Send for VkColorComponentFlagBits
impl Sync for VkColorComponentFlagBits
impl Unpin for VkColorComponentFlagBits
impl UnwindSafe for VkColorComponentFlagBits
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