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.
Trait Implementations§
source§impl<'a> Deref for PhysicalDeviceProtectedMemoryFeaturesBuilder<'a>
impl<'a> Deref for PhysicalDeviceProtectedMemoryFeaturesBuilder<'a>
source§impl<'a> DerefMut for PhysicalDeviceProtectedMemoryFeaturesBuilder<'a>
impl<'a> DerefMut for PhysicalDeviceProtectedMemoryFeaturesBuilder<'a>
impl ExtendsDeviceCreateInfo for PhysicalDeviceProtectedMemoryFeaturesBuilder<'_>
impl ExtendsPhysicalDeviceFeatures2 for PhysicalDeviceProtectedMemoryFeaturesBuilder<'_>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for PhysicalDeviceProtectedMemoryFeaturesBuilder<'a>
impl<'a> !Send for PhysicalDeviceProtectedMemoryFeaturesBuilder<'a>
impl<'a> !Sync for PhysicalDeviceProtectedMemoryFeaturesBuilder<'a>
impl<'a> Unpin for PhysicalDeviceProtectedMemoryFeaturesBuilder<'a>
impl<'a> UnwindSafe for PhysicalDeviceProtectedMemoryFeaturesBuilder<'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