pub struct ImageSwapchainCreateInfoKHRBuilder<'a> { /* private fields */ }
Implementations§
Source§impl<'a> ImageSwapchainCreateInfoKHRBuilder<'a>
impl<'a> ImageSwapchainCreateInfoKHRBuilder<'a>
pub fn swapchain(self, swapchain: SwapchainKHR) -> Self
Sourcepub fn build(self) -> ImageSwapchainCreateInfoKHR
pub fn build(self) -> ImageSwapchainCreateInfoKHR
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 ImageSwapchainCreateInfoKHRBuilder<'a>
impl<'a> Deref for ImageSwapchainCreateInfoKHRBuilder<'a>
Source§impl<'a> DerefMut for ImageSwapchainCreateInfoKHRBuilder<'a>
impl<'a> DerefMut for ImageSwapchainCreateInfoKHRBuilder<'a>
impl ExtendsImageCreateInfo for ImageSwapchainCreateInfoKHRBuilder<'_>
Auto Trait Implementations§
impl<'a> Freeze for ImageSwapchainCreateInfoKHRBuilder<'a>
impl<'a> RefUnwindSafe for ImageSwapchainCreateInfoKHRBuilder<'a>
impl<'a> !Send for ImageSwapchainCreateInfoKHRBuilder<'a>
impl<'a> !Sync for ImageSwapchainCreateInfoKHRBuilder<'a>
impl<'a> Unpin for ImageSwapchainCreateInfoKHRBuilder<'a>
impl<'a> UnwindSafe for ImageSwapchainCreateInfoKHRBuilder<'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