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