pub struct ImageStencilUsageCreateInfoBuilder<'a> { /* private fields */ }
Implementations§
Source§impl<'a> ImageStencilUsageCreateInfoBuilder<'a>
impl<'a> ImageStencilUsageCreateInfoBuilder<'a>
pub fn stencil_usage(self, stencil_usage: ImageUsageFlags) -> Self
Sourcepub fn build(self) -> ImageStencilUsageCreateInfo
pub fn build(self) -> ImageStencilUsageCreateInfo
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 ImageStencilUsageCreateInfoBuilder<'a>
impl<'a> Deref for ImageStencilUsageCreateInfoBuilder<'a>
Source§impl<'a> DerefMut for ImageStencilUsageCreateInfoBuilder<'a>
impl<'a> DerefMut for ImageStencilUsageCreateInfoBuilder<'a>
impl ExtendsImageCreateInfo for ImageStencilUsageCreateInfoBuilder<'_>
impl ExtendsPhysicalDeviceImageFormatInfo2 for ImageStencilUsageCreateInfoBuilder<'_>
Auto Trait Implementations§
impl<'a> Freeze for ImageStencilUsageCreateInfoBuilder<'a>
impl<'a> RefUnwindSafe for ImageStencilUsageCreateInfoBuilder<'a>
impl<'a> !Send for ImageStencilUsageCreateInfoBuilder<'a>
impl<'a> !Sync for ImageStencilUsageCreateInfoBuilder<'a>
impl<'a> Unpin for ImageStencilUsageCreateInfoBuilder<'a>
impl<'a> UnwindSafe for ImageStencilUsageCreateInfoBuilder<'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