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