pub struct SurfaceCapabilitiesPresentBarrierNVBuilder<'a> { /* private fields */ }
Implementations§
Source§impl<'a> SurfaceCapabilitiesPresentBarrierNVBuilder<'a>
impl<'a> SurfaceCapabilitiesPresentBarrierNVBuilder<'a>
pub fn present_barrier_supported(self, present_barrier_supported: bool) -> Self
Sourcepub fn build(self) -> SurfaceCapabilitiesPresentBarrierNV
pub fn build(self) -> SurfaceCapabilitiesPresentBarrierNV
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 SurfaceCapabilitiesPresentBarrierNVBuilder<'a>
impl<'a> Deref for SurfaceCapabilitiesPresentBarrierNVBuilder<'a>
Source§impl<'a> DerefMut for SurfaceCapabilitiesPresentBarrierNVBuilder<'a>
impl<'a> DerefMut for SurfaceCapabilitiesPresentBarrierNVBuilder<'a>
impl ExtendsSurfaceCapabilities2KHR for SurfaceCapabilitiesPresentBarrierNVBuilder<'_>
Auto Trait Implementations§
impl<'a> Freeze for SurfaceCapabilitiesPresentBarrierNVBuilder<'a>
impl<'a> RefUnwindSafe for SurfaceCapabilitiesPresentBarrierNVBuilder<'a>
impl<'a> !Send for SurfaceCapabilitiesPresentBarrierNVBuilder<'a>
impl<'a> !Sync for SurfaceCapabilitiesPresentBarrierNVBuilder<'a>
impl<'a> Unpin for SurfaceCapabilitiesPresentBarrierNVBuilder<'a>
impl<'a> UnwindSafe for SurfaceCapabilitiesPresentBarrierNVBuilder<'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