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> Freeze for ImageViewUsageCreateInfoBuilder<'a>
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