Enum ComponentSwizzle
#[repr(u32)]pub enum ComponentSwizzle {
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§
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§
§impl Clone for VkComponentSwizzle
impl Clone for VkComponentSwizzle
§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 more§impl Debug for VkComponentSwizzle
impl Debug for VkComponentSwizzle
§impl Hash for VkComponentSwizzle
impl Hash for VkComponentSwizzle
§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