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