Struct ash::vk::ComponentMapping
source · #[repr(C)]pub struct ComponentMapping {
pub r: ComponentSwizzle,
pub g: ComponentSwizzle,
pub b: ComponentSwizzle,
pub a: ComponentSwizzle,
}
Expand description
Fields§
§r: ComponentSwizzle
§g: ComponentSwizzle
§b: ComponentSwizzle
§a: ComponentSwizzle
Implementations§
source§impl ComponentMapping
impl ComponentMapping
pub fn builder<'a>() -> ComponentMappingBuilder<'a>
Trait Implementations§
source§impl Clone for ComponentMapping
impl Clone for ComponentMapping
source§fn clone(&self) -> ComponentMapping
fn clone(&self) -> ComponentMapping
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 ComponentMapping
impl Debug for ComponentMapping
source§impl Default for ComponentMapping
impl Default for ComponentMapping
source§fn default() -> ComponentMapping
fn default() -> ComponentMapping
Returns the “default value” for a type. Read more