#[repr(C)]pub struct SurfaceCapabilitiesPresentBarrierNV {
pub s_type: StructureType,
pub p_next: *mut c_void,
pub present_barrier_supported: u32,
}Expand description
VkSurfaceCapabilitiesPresentBarrierNV
Provided by VK_NV_present_barrier.
Returned only*, filled by Vulkan, not constructed by the application.
§Extends
Fields§
§s_type: StructureTypeMust be VK_STRUCTURE_TYPE_SURFACE_CAPABILITIES_PRESENT_BARRIER_NV.
p_next: *mut c_voidOptional, may be null.
present_barrier_supported: u32Implementations§
Source§impl SurfaceCapabilitiesPresentBarrierNV
impl SurfaceCapabilitiesPresentBarrierNV
Sourcepub fn builder<'a>() -> SurfaceCapabilitiesPresentBarrierNVBuilder<'a>
pub fn builder<'a>() -> SurfaceCapabilitiesPresentBarrierNVBuilder<'a>
Returns a builder for this struct with sType pre-filled.
Trait Implementations§
Source§impl Clone for SurfaceCapabilitiesPresentBarrierNV
impl Clone for SurfaceCapabilitiesPresentBarrierNV
Source§fn clone(&self) -> SurfaceCapabilitiesPresentBarrierNV
fn clone(&self) -> SurfaceCapabilitiesPresentBarrierNV
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SurfaceCapabilitiesPresentBarrierNV
impl ExtendsSurfaceCapabilities2KHR for SurfaceCapabilitiesPresentBarrierNV
Auto Trait Implementations§
impl Freeze for SurfaceCapabilitiesPresentBarrierNV
impl RefUnwindSafe for SurfaceCapabilitiesPresentBarrierNV
impl !Send for SurfaceCapabilitiesPresentBarrierNV
impl !Sync for SurfaceCapabilitiesPresentBarrierNV
impl Unpin for SurfaceCapabilitiesPresentBarrierNV
impl UnsafeUnpin for SurfaceCapabilitiesPresentBarrierNV
impl UnwindSafe for SurfaceCapabilitiesPresentBarrierNV
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