pub struct SwapchainPresentModesCreateInfoEXTBuilder<'a> { /* private fields */ }
Implementations§
Source§impl<'a> SwapchainPresentModesCreateInfoEXTBuilder<'a>
impl<'a> SwapchainPresentModesCreateInfoEXTBuilder<'a>
pub fn present_modes(self, present_modes: &'a [PresentModeKHR]) -> Self
Sourcepub fn build(self) -> SwapchainPresentModesCreateInfoEXT
pub fn build(self) -> SwapchainPresentModesCreateInfoEXT
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 SwapchainPresentModesCreateInfoEXTBuilder<'a>
impl<'a> Deref for SwapchainPresentModesCreateInfoEXTBuilder<'a>
Source§impl<'a> DerefMut for SwapchainPresentModesCreateInfoEXTBuilder<'a>
impl<'a> DerefMut for SwapchainPresentModesCreateInfoEXTBuilder<'a>
impl ExtendsSwapchainCreateInfoKHR for SwapchainPresentModesCreateInfoEXTBuilder<'_>
Auto Trait Implementations§
impl<'a> Freeze for SwapchainPresentModesCreateInfoEXTBuilder<'a>
impl<'a> RefUnwindSafe for SwapchainPresentModesCreateInfoEXTBuilder<'a>
impl<'a> !Send for SwapchainPresentModesCreateInfoEXTBuilder<'a>
impl<'a> !Sync for SwapchainPresentModesCreateInfoEXTBuilder<'a>
impl<'a> Unpin for SwapchainPresentModesCreateInfoEXTBuilder<'a>
impl<'a> UnwindSafe for SwapchainPresentModesCreateInfoEXTBuilder<'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