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> Freeze for PhysicalDeviceProtectedMemoryFeaturesBuilder<'a>
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