pub struct SamplerBorderColorComponentMappingCreateInfoEXTBuilder<'a> { /* private fields */ }
Implementations§
source§impl<'a> SamplerBorderColorComponentMappingCreateInfoEXTBuilder<'a>
impl<'a> SamplerBorderColorComponentMappingCreateInfoEXTBuilder<'a>
pub fn components(self, components: ComponentMapping) -> Self
pub fn srgb(self, srgb: bool) -> Self
sourcepub fn build(self) -> SamplerBorderColorComponentMappingCreateInfoEXT
pub fn build(self) -> SamplerBorderColorComponentMappingCreateInfoEXT
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 SamplerBorderColorComponentMappingCreateInfoEXTBuilder<'a>
impl<'a> Deref for SamplerBorderColorComponentMappingCreateInfoEXTBuilder<'a>
source§impl<'a> DerefMut for SamplerBorderColorComponentMappingCreateInfoEXTBuilder<'a>
impl<'a> DerefMut for SamplerBorderColorComponentMappingCreateInfoEXTBuilder<'a>
impl ExtendsSamplerCreateInfo for SamplerBorderColorComponentMappingCreateInfoEXTBuilder<'_>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for SamplerBorderColorComponentMappingCreateInfoEXTBuilder<'a>
impl<'a> !Send for SamplerBorderColorComponentMappingCreateInfoEXTBuilder<'a>
impl<'a> !Sync for SamplerBorderColorComponentMappingCreateInfoEXTBuilder<'a>
impl<'a> Unpin for SamplerBorderColorComponentMappingCreateInfoEXTBuilder<'a>
impl<'a> UnwindSafe for SamplerBorderColorComponentMappingCreateInfoEXTBuilder<'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