#[repr(C)]pub struct VkComponentMapping {
pub r: VkComponentSwizzle,
pub g: VkComponentSwizzle,
pub b: VkComponentSwizzle,
pub a: VkComponentSwizzle,
}
Fields§
§r: VkComponentSwizzle
§g: VkComponentSwizzle
§b: VkComponentSwizzle
§a: VkComponentSwizzle
Trait Implementations§
Source§impl Clone for VkComponentMapping
impl Clone for VkComponentMapping
Source§fn clone(&self) -> VkComponentMapping
fn clone(&self) -> VkComponentMapping
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Default for VkComponentMapping
impl Default for VkComponentMapping
impl Copy for VkComponentMapping
Auto Trait Implementations§
impl Freeze for VkComponentMapping
impl RefUnwindSafe for VkComponentMapping
impl Send for VkComponentMapping
impl Sync for VkComponentMapping
impl Unpin for VkComponentMapping
impl UnwindSafe for VkComponentMapping
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