Struct ash::vk::ImageStencilUsageCreateInfoBuilder
source · [−]#[repr(transparent)]pub struct ImageStencilUsageCreateInfoBuilder<'a> { /* private fields */ }
Implementations
sourceimpl<'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
sourceimpl<'a> Deref for ImageStencilUsageCreateInfoBuilder<'a>
impl<'a> Deref for ImageStencilUsageCreateInfoBuilder<'a>
type Target = ImageStencilUsageCreateInfo
type Target = ImageStencilUsageCreateInfo
The resulting type after dereferencing.
sourceimpl<'a> DerefMut for ImageStencilUsageCreateInfoBuilder<'a>
impl<'a> DerefMut for ImageStencilUsageCreateInfoBuilder<'a>
impl ExtendsImageCreateInfo for ImageStencilUsageCreateInfoBuilder<'_>
impl ExtendsPhysicalDeviceImageFormatInfo2 for ImageStencilUsageCreateInfoBuilder<'_>
Auto Trait Implementations
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more