Struct ash::vk::ImageFormatListCreateInfoBuilder
source · pub struct ImageFormatListCreateInfoBuilder<'a> { /* private fields */ }
Implementations§
source§impl<'a> ImageFormatListCreateInfoBuilder<'a>
impl<'a> ImageFormatListCreateInfoBuilder<'a>
pub fn view_formats(self, view_formats: &'a [Format]) -> Self
sourcepub fn build(self) -> ImageFormatListCreateInfo
pub fn build(self) -> ImageFormatListCreateInfo
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 ImageFormatListCreateInfoBuilder<'a>
impl<'a> Deref for ImageFormatListCreateInfoBuilder<'a>
source§impl<'a> DerefMut for ImageFormatListCreateInfoBuilder<'a>
impl<'a> DerefMut for ImageFormatListCreateInfoBuilder<'a>
impl ExtendsImageCreateInfo for ImageFormatListCreateInfoBuilder<'_>
impl ExtendsPhysicalDeviceImageFormatInfo2 for ImageFormatListCreateInfoBuilder<'_>
impl ExtendsSwapchainCreateInfoKHR for ImageFormatListCreateInfoBuilder<'_>
Auto Trait Implementations§
impl<'a> Freeze for ImageFormatListCreateInfoBuilder<'a>
impl<'a> RefUnwindSafe for ImageFormatListCreateInfoBuilder<'a>
impl<'a> !Send for ImageFormatListCreateInfoBuilder<'a>
impl<'a> !Sync for ImageFormatListCreateInfoBuilder<'a>
impl<'a> Unpin for ImageFormatListCreateInfoBuilder<'a>
impl<'a> UnwindSafe for ImageFormatListCreateInfoBuilder<'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