#[repr(transparent)]pub struct PhysicalDeviceProtectedMemoryFeaturesBuilder<'a> { /* private fields */ }
Implementations
sourceimpl<'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
sourceimpl<'a> Deref for PhysicalDeviceProtectedMemoryFeaturesBuilder<'a>
impl<'a> Deref for PhysicalDeviceProtectedMemoryFeaturesBuilder<'a>
type Target = PhysicalDeviceProtectedMemoryFeatures
type Target = PhysicalDeviceProtectedMemoryFeatures
The resulting type after dereferencing.
sourceimpl<'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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more