#[repr(transparent)]pub struct PhysicalDeviceProtectedMemoryFeaturesBuilder<'a> { /* private fields */ }
Implementations§
source§impl<'a> PhysicalDeviceProtectedMemoryFeaturesBuilder<'a>
impl<'a> PhysicalDeviceProtectedMemoryFeaturesBuilder<'a>
pub fn protected_memory(self, protected_memory: bool) -> Self
sourcepub fn build(self) -> PhysicalDeviceProtectedMemoryFeatures
pub fn build(self) -> PhysicalDeviceProtectedMemoryFeatures
Calling build will discard all the lifetime information. Only call this if
necessary! Builders implement Deref
targeting their corresponding Vulkan struct,
so references to builders can be passed directly to Vulkan functions.