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