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