#[repr(C)]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,
}Expand description
enum VkComponentSwizzle from VK_VERSION_1_0
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 duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for VkComponentSwizzle
Source§impl Debug for VkComponentSwizzle
impl Debug for VkComponentSwizzle
impl Eq for VkComponentSwizzle
Source§impl Hash for VkComponentSwizzle
impl Hash for VkComponentSwizzle
Source§impl Ord for VkComponentSwizzle
impl Ord for VkComponentSwizzle
Source§fn cmp(&self, other: &VkComponentSwizzle) -> Ordering
fn cmp(&self, other: &VkComponentSwizzle) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for VkComponentSwizzle
impl PartialEq for VkComponentSwizzle
Source§impl PartialOrd for VkComponentSwizzle
impl PartialOrd 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 UnsafeUnpin 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