pub struct SwapchainPresentModeInfoKHRBuilder<'a> { /* private fields */ }Expand description
Builder for SwapchainPresentModeInfoKHR with lifetime-tied pNext safety.
Implementations§
Source§impl<'a> SwapchainPresentModeInfoKHRBuilder<'a>
impl<'a> SwapchainPresentModeInfoKHRBuilder<'a>
pub fn present_modes(self, slice: &'a [PresentModeKHR]) -> Self
Sourcepub fn push_next<T: ExtendsSwapchainPresentModeInfoKHR>(
self,
next: &'a mut T,
) -> Self
pub fn push_next<T: ExtendsSwapchainPresentModeInfoKHR>( self, next: &'a mut T, ) -> Self
Prepend a struct to the pNext chain. See SwapchainPresentModeInfoKHR’s Extended By section for valid types.
Trait Implementations§
Source§impl<'a> Deref for SwapchainPresentModeInfoKHRBuilder<'a>
impl<'a> Deref for SwapchainPresentModeInfoKHRBuilder<'a>
Auto Trait Implementations§
impl<'a> Freeze for SwapchainPresentModeInfoKHRBuilder<'a>
impl<'a> RefUnwindSafe for SwapchainPresentModeInfoKHRBuilder<'a>
impl<'a> !Send for SwapchainPresentModeInfoKHRBuilder<'a>
impl<'a> !Sync for SwapchainPresentModeInfoKHRBuilder<'a>
impl<'a> Unpin for SwapchainPresentModeInfoKHRBuilder<'a>
impl<'a> UnsafeUnpin for SwapchainPresentModeInfoKHRBuilder<'a>
impl<'a> UnwindSafe for SwapchainPresentModeInfoKHRBuilder<'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