Struct ash::vk::ImageFormatListCreateInfoBuilder
source · [−]#[repr(transparent)]pub struct ImageFormatListCreateInfoBuilder<'a> { /* private fields */ }
Implementations
sourceimpl<'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
sourceimpl<'a> Deref for ImageFormatListCreateInfoBuilder<'a>
impl<'a> Deref for ImageFormatListCreateInfoBuilder<'a>
type Target = ImageFormatListCreateInfo
type Target = ImageFormatListCreateInfo
The resulting type after dereferencing.
sourceimpl<'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> 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
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