Struct ash::vk::ComponentMappingBuilder
source · pub struct ComponentMappingBuilder<'a> { /* private fields */ }
Implementations§
source§impl<'a> ComponentMappingBuilder<'a>
impl<'a> ComponentMappingBuilder<'a>
pub fn r(self, r: ComponentSwizzle) -> Self
pub fn g(self, g: ComponentSwizzle) -> Self
pub fn b(self, b: ComponentSwizzle) -> Self
pub fn a(self, a: ComponentSwizzle) -> Self
sourcepub fn build(self) -> ComponentMapping
pub fn build(self) -> ComponentMapping
Calling build will discard all the lifetime information. Only call this if
necessary! Builders implement Deref
targeting their corresponding Vulkan struct,
so references to builders can be passed directly to Vulkan functions.
Trait Implementations§
source§impl<'a> Deref for ComponentMappingBuilder<'a>
impl<'a> Deref for ComponentMappingBuilder<'a>
Auto Trait Implementations§
impl<'a> Freeze for ComponentMappingBuilder<'a>
impl<'a> RefUnwindSafe for ComponentMappingBuilder<'a>
impl<'a> Send for ComponentMappingBuilder<'a>
impl<'a> Sync for ComponentMappingBuilder<'a>
impl<'a> Unpin for ComponentMappingBuilder<'a>
impl<'a> UnwindSafe for ComponentMappingBuilder<'a>
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