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