pub struct PhysicalDeviceProtectedMemoryFeaturesBuilder<'a> { /* private fields */ }Implementations§
source§impl<'a> PhysicalDeviceProtectedMemoryFeaturesBuilder<'a>
impl<'a> PhysicalDeviceProtectedMemoryFeaturesBuilder<'a>
pub fn protected_memory( self, protected_memory: bool ) -> PhysicalDeviceProtectedMemoryFeaturesBuilder<'a>
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.
Trait Implementations§
source§impl<'a> Deref for PhysicalDeviceProtectedMemoryFeaturesBuilder<'a>
impl<'a> Deref for PhysicalDeviceProtectedMemoryFeaturesBuilder<'a>
§type Target = PhysicalDeviceProtectedMemoryFeatures
type Target = PhysicalDeviceProtectedMemoryFeatures
The resulting type after dereferencing.