#[repr(transparent)]pub struct PhysicalDeviceProtectedMemoryPropertiesBuilder<'a> { /* private fields */ }Implementations
sourceimpl<'a> PhysicalDeviceProtectedMemoryPropertiesBuilder<'a>
impl<'a> PhysicalDeviceProtectedMemoryPropertiesBuilder<'a>
pub fn protected_no_fault(
self,
protected_no_fault: bool
) -> PhysicalDeviceProtectedMemoryPropertiesBuilder<'a>
sourcepub fn build(self) -> PhysicalDeviceProtectedMemoryProperties
pub fn build(self) -> PhysicalDeviceProtectedMemoryProperties
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 PhysicalDeviceProtectedMemoryPropertiesBuilder<'a>
impl<'a> Deref for PhysicalDeviceProtectedMemoryPropertiesBuilder<'a>
type Target = PhysicalDeviceProtectedMemoryProperties
type Target = PhysicalDeviceProtectedMemoryProperties
The resulting type after dereferencing.
sourcefn deref(
&self
) -> &<PhysicalDeviceProtectedMemoryPropertiesBuilder<'a> as Deref>::Target
fn deref(
&self
) -> &<PhysicalDeviceProtectedMemoryPropertiesBuilder<'a> as Deref>::Target
Dereferences the value.
sourceimpl<'a> DerefMut for PhysicalDeviceProtectedMemoryPropertiesBuilder<'a>
impl<'a> DerefMut for PhysicalDeviceProtectedMemoryPropertiesBuilder<'a>
sourcefn deref_mut(
&mut self
) -> &mut <PhysicalDeviceProtectedMemoryPropertiesBuilder<'a> as Deref>::Target
fn deref_mut(
&mut self
) -> &mut <PhysicalDeviceProtectedMemoryPropertiesBuilder<'a> as Deref>::Target
Mutably dereferences the value.
impl<'_> ExtendsPhysicalDeviceProperties2 for PhysicalDeviceProtectedMemoryPropertiesBuilder<'_>
Auto Trait Implementations
impl<'a> RefUnwindSafe for PhysicalDeviceProtectedMemoryPropertiesBuilder<'a>
impl<'a> !Send for PhysicalDeviceProtectedMemoryPropertiesBuilder<'a>
impl<'a> !Sync for PhysicalDeviceProtectedMemoryPropertiesBuilder<'a>
impl<'a> Unpin for PhysicalDeviceProtectedMemoryPropertiesBuilder<'a>
impl<'a> UnwindSafe for PhysicalDeviceProtectedMemoryPropertiesBuilder<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more