Struct ash::vk::ComponentMapping
source · #[repr(C)]pub struct ComponentMapping {
pub r: ComponentSwizzle,
pub g: ComponentSwizzle,
pub b: ComponentSwizzle,
pub a: ComponentSwizzle,
}
Fields
r: ComponentSwizzle
g: ComponentSwizzle
b: ComponentSwizzle
a: ComponentSwizzle
Implementations
sourceimpl ComponentMapping
impl ComponentMapping
pub fn builder<'a>() -> ComponentMappingBuilder<'a>
Trait Implementations
sourceimpl Clone for ComponentMapping
impl Clone for ComponentMapping
sourcefn clone(&self) -> ComponentMapping
fn clone(&self) -> ComponentMapping
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for ComponentMapping
impl Debug for ComponentMapping
sourceimpl Default for ComponentMapping
impl Default for ComponentMapping
sourcefn default() -> ComponentMapping
fn default() -> ComponentMapping
Returns the “default value” for a type. Read more
impl Copy for ComponentMapping
Auto Trait Implementations
impl RefUnwindSafe for ComponentMapping
impl Send for ComponentMapping
impl Sync for ComponentMapping
impl Unpin for ComponentMapping
impl UnwindSafe for ComponentMapping
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more