Struct ash::vk::SamplerReductionModeCreateInfoBuilder
source · pub struct SamplerReductionModeCreateInfoBuilder<'a> { /* private fields */ }
Implementations§
source§impl<'a> SamplerReductionModeCreateInfoBuilder<'a>
impl<'a> SamplerReductionModeCreateInfoBuilder<'a>
pub fn reduction_mode(self, reduction_mode: SamplerReductionMode) -> Self
sourcepub fn build(self) -> SamplerReductionModeCreateInfo
pub fn build(self) -> SamplerReductionModeCreateInfo
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 SamplerReductionModeCreateInfoBuilder<'a>
impl<'a> Deref for SamplerReductionModeCreateInfoBuilder<'a>
source§impl<'a> DerefMut for SamplerReductionModeCreateInfoBuilder<'a>
impl<'a> DerefMut for SamplerReductionModeCreateInfoBuilder<'a>
impl ExtendsSamplerCreateInfo for SamplerReductionModeCreateInfoBuilder<'_>
Auto Trait Implementations§
impl<'a> Freeze for SamplerReductionModeCreateInfoBuilder<'a>
impl<'a> RefUnwindSafe for SamplerReductionModeCreateInfoBuilder<'a>
impl<'a> !Send for SamplerReductionModeCreateInfoBuilder<'a>
impl<'a> !Sync for SamplerReductionModeCreateInfoBuilder<'a>
impl<'a> Unpin for SamplerReductionModeCreateInfoBuilder<'a>
impl<'a> UnwindSafe for SamplerReductionModeCreateInfoBuilder<'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