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