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) -> Self
Sourcepub fn push_next<T: ExtendsSurfacePresentModeKHR>(self, next: &'a mut T) -> Self
pub fn push_next<T: ExtendsSurfacePresentModeKHR>(self, next: &'a mut T) -> Self
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>
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