Struct ash::vk::definitions::SurfaceProtectedCapabilitiesKHR
source · #[repr(C)]pub struct SurfaceProtectedCapabilitiesKHR<'a> {
pub s_type: StructureType,
pub p_next: *const c_void,
pub supports_protected: Bool32,
pub _marker: PhantomData<&'a ()>,
}
Expand description
Fields§
§s_type: StructureType
§p_next: *const c_void
§supports_protected: Bool32
§_marker: PhantomData<&'a ()>
Implementations§
source§impl<'a> SurfaceProtectedCapabilitiesKHR<'a>
impl<'a> SurfaceProtectedCapabilitiesKHR<'a>
pub fn supports_protected(self, supports_protected: bool) -> Self
Trait Implementations§
source§impl<'a> Clone for SurfaceProtectedCapabilitiesKHR<'a>
impl<'a> Clone for SurfaceProtectedCapabilitiesKHR<'a>
source§fn clone(&self) -> SurfaceProtectedCapabilitiesKHR<'a>
fn clone(&self) -> SurfaceProtectedCapabilitiesKHR<'a>
Returns a copy 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 moresource§impl<'a> Debug for SurfaceProtectedCapabilitiesKHR<'a>
impl<'a> Debug for SurfaceProtectedCapabilitiesKHR<'a>
source§impl Default for SurfaceProtectedCapabilitiesKHR<'_>
impl Default for SurfaceProtectedCapabilitiesKHR<'_>
source§impl<'a> TaggedStructure for SurfaceProtectedCapabilitiesKHR<'a>
impl<'a> TaggedStructure for SurfaceProtectedCapabilitiesKHR<'a>
const STRUCTURE_TYPE: StructureType = StructureType::SURFACE_PROTECTED_CAPABILITIES_KHR
impl<'a> Copy for SurfaceProtectedCapabilitiesKHR<'a>
impl ExtendsSurfaceCapabilities2KHR for SurfaceProtectedCapabilitiesKHR<'_>
impl Send for SurfaceProtectedCapabilitiesKHR<'_>
impl Sync for SurfaceProtectedCapabilitiesKHR<'_>
Auto Trait Implementations§
impl<'a> Freeze for SurfaceProtectedCapabilitiesKHR<'a>
impl<'a> RefUnwindSafe for SurfaceProtectedCapabilitiesKHR<'a>
impl<'a> Unpin for SurfaceProtectedCapabilitiesKHR<'a>
impl<'a> UnwindSafe for SurfaceProtectedCapabilitiesKHR<'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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)