#[repr(C)]pub struct PhysicalDeviceProtectedMemoryFeatures {
pub s_type: StructureType,
pub p_next: *mut c_void,
pub protected_memory: u32,
}Expand description
VkPhysicalDeviceProtectedMemoryFeatures
Provided by VK_BASE_VERSION_1_1.
§Extends
Fields§
§s_type: StructureTypeMust be VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PROTECTED_MEMORY_FEATURES.
p_next: *mut c_voidOptional, may be null.
protected_memory: u32Implementations§
Source§impl PhysicalDeviceProtectedMemoryFeatures
impl PhysicalDeviceProtectedMemoryFeatures
Sourcepub fn builder<'a>() -> PhysicalDeviceProtectedMemoryFeaturesBuilder<'a>
pub fn builder<'a>() -> PhysicalDeviceProtectedMemoryFeaturesBuilder<'a>
Returns a builder for this struct with sType pre-filled.
Trait Implementations§
Source§impl Clone for PhysicalDeviceProtectedMemoryFeatures
impl Clone for PhysicalDeviceProtectedMemoryFeatures
Source§fn clone(&self) -> PhysicalDeviceProtectedMemoryFeatures
fn clone(&self) -> PhysicalDeviceProtectedMemoryFeatures
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 PhysicalDeviceProtectedMemoryFeatures
impl ExtendsDeviceCreateInfo for PhysicalDeviceProtectedMemoryFeatures
impl ExtendsPhysicalDeviceFeatures2 for PhysicalDeviceProtectedMemoryFeatures
Auto Trait Implementations§
impl Freeze for PhysicalDeviceProtectedMemoryFeatures
impl RefUnwindSafe for PhysicalDeviceProtectedMemoryFeatures
impl !Send for PhysicalDeviceProtectedMemoryFeatures
impl !Sync for PhysicalDeviceProtectedMemoryFeatures
impl Unpin for PhysicalDeviceProtectedMemoryFeatures
impl UnsafeUnpin for PhysicalDeviceProtectedMemoryFeatures
impl UnwindSafe for PhysicalDeviceProtectedMemoryFeatures
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