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