Struct ash::vk::SwapchainPresentModesCreateInfoEXTBuilder
source · 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