#[repr(C)]pub struct SurfaceProtectedCapabilitiesKHR {
pub s_type: StructureType,
pub p_next: *mut c_void,
pub supports_protected: u32,
}Expand description
VkSurfaceProtectedCapabilitiesKHR
Provided by VK_KHR_surface_protected_capabilities.
Returned only*, filled by Vulkan, not constructed by the application.
§Extends
Fields§
§s_type: StructureTypeMust be VK_STRUCTURE_TYPE_SURFACE_PROTECTED_CAPABILITIES_KHR.
p_next: *mut c_voidOptional, may be null.
supports_protected: u32Implementations§
Source§impl SurfaceProtectedCapabilitiesKHR
impl SurfaceProtectedCapabilitiesKHR
Sourcepub fn builder<'a>() -> SurfaceProtectedCapabilitiesKHRBuilder<'a>
pub fn builder<'a>() -> SurfaceProtectedCapabilitiesKHRBuilder<'a>
Start building this struct; s_type is already set to the correct variant.
Trait Implementations§
Source§impl Clone for SurfaceProtectedCapabilitiesKHR
impl Clone for SurfaceProtectedCapabilitiesKHR
Source§fn clone(&self) -> SurfaceProtectedCapabilitiesKHR
fn clone(&self) -> SurfaceProtectedCapabilitiesKHR
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 SurfaceProtectedCapabilitiesKHR
impl ExtendsSurfaceCapabilities2KHR for SurfaceProtectedCapabilitiesKHR
Auto Trait Implementations§
impl Freeze for SurfaceProtectedCapabilitiesKHR
impl RefUnwindSafe for SurfaceProtectedCapabilitiesKHR
impl !Send for SurfaceProtectedCapabilitiesKHR
impl !Sync for SurfaceProtectedCapabilitiesKHR
impl Unpin for SurfaceProtectedCapabilitiesKHR
impl UnsafeUnpin for SurfaceProtectedCapabilitiesKHR
impl UnwindSafe for SurfaceProtectedCapabilitiesKHR
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