Struct vulkanalia::vk::ComponentMappingBuilder
source · #[repr(transparent)]pub struct ComponentMappingBuilder { /* private fields */ }
Expand description
A builder for a ComponentMapping
.
Implementations§
source§impl ComponentMappingBuilder
impl ComponentMappingBuilder
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
pub fn build(self) -> ComponentMapping
Trait Implementations§
source§impl Cast for ComponentMappingBuilder
impl Cast for ComponentMappingBuilder
§type Target = ComponentMapping
type Target = ComponentMapping
The other type this type can be used interchangeably with in FFI.
source§impl Clone for ComponentMappingBuilder
impl Clone for ComponentMappingBuilder
source§fn clone(&self) -> ComponentMappingBuilder
fn clone(&self) -> ComponentMappingBuilder
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 ComponentMappingBuilder
impl Debug for ComponentMappingBuilder
source§impl Default for ComponentMappingBuilder
impl Default for ComponentMappingBuilder
source§fn default() -> ComponentMappingBuilder
fn default() -> ComponentMappingBuilder
Returns the “default value” for a type. Read more
source§impl Deref for ComponentMappingBuilder
impl Deref for ComponentMappingBuilder
source§impl DerefMut for ComponentMappingBuilder
impl DerefMut for ComponentMappingBuilder
impl Copy for ComponentMappingBuilder
Auto Trait Implementations§
impl RefUnwindSafe for ComponentMappingBuilder
impl Send for ComponentMappingBuilder
impl Sync for ComponentMappingBuilder
impl Unpin for ComponentMappingBuilder
impl UnwindSafe for ComponentMappingBuilder
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