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> Freeze for SamplerBorderColorComponentMappingCreateInfoEXTBuilder<'a>
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