Struct ash::vk::definitions::PhysicalDeviceProtectedMemoryFeatures
source · #[repr(C)]pub struct PhysicalDeviceProtectedMemoryFeatures<'a> {
pub s_type: StructureType,
pub p_next: *mut c_void,
pub protected_memory: Bool32,
pub _marker: PhantomData<&'a ()>,
}
Expand description
Fields§
§s_type: StructureType
§p_next: *mut c_void
§protected_memory: Bool32
§_marker: PhantomData<&'a ()>
Implementations§
source§impl<'a> PhysicalDeviceProtectedMemoryFeatures<'a>
impl<'a> PhysicalDeviceProtectedMemoryFeatures<'a>
pub fn protected_memory(self, protected_memory: bool) -> Self
Trait Implementations§
source§impl<'a> Clone for PhysicalDeviceProtectedMemoryFeatures<'a>
impl<'a> Clone for PhysicalDeviceProtectedMemoryFeatures<'a>
source§fn clone(&self) -> PhysicalDeviceProtectedMemoryFeatures<'a>
fn clone(&self) -> PhysicalDeviceProtectedMemoryFeatures<'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 PhysicalDeviceProtectedMemoryFeatures<'a>
impl<'a> Debug for PhysicalDeviceProtectedMemoryFeatures<'a>
source§impl Default for PhysicalDeviceProtectedMemoryFeatures<'_>
impl Default for PhysicalDeviceProtectedMemoryFeatures<'_>
source§impl<'a> TaggedStructure for PhysicalDeviceProtectedMemoryFeatures<'a>
impl<'a> TaggedStructure for PhysicalDeviceProtectedMemoryFeatures<'a>
const STRUCTURE_TYPE: StructureType = StructureType::PHYSICAL_DEVICE_PROTECTED_MEMORY_FEATURES
impl<'a> Copy for PhysicalDeviceProtectedMemoryFeatures<'a>
impl ExtendsDeviceCreateInfo for PhysicalDeviceProtectedMemoryFeatures<'_>
impl ExtendsPhysicalDeviceFeatures2 for PhysicalDeviceProtectedMemoryFeatures<'_>
impl Send for PhysicalDeviceProtectedMemoryFeatures<'_>
impl Sync for PhysicalDeviceProtectedMemoryFeatures<'_>
Auto Trait Implementations§
impl<'a> Freeze for PhysicalDeviceProtectedMemoryFeatures<'a>
impl<'a> RefUnwindSafe for PhysicalDeviceProtectedMemoryFeatures<'a>
impl<'a> Unpin for PhysicalDeviceProtectedMemoryFeatures<'a>
impl<'a> UnwindSafe for PhysicalDeviceProtectedMemoryFeatures<'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