#[repr(transparent)]pub struct PhysicalDeviceProtectedMemoryFeaturesBuilder { /* private fields */ }
Expand description
A builder for a PhysicalDeviceProtectedMemoryFeatures
.
Implementations§
source§impl PhysicalDeviceProtectedMemoryFeaturesBuilder
impl PhysicalDeviceProtectedMemoryFeaturesBuilder
pub fn protected_memory(self, protected_memory: bool) -> Self
pub fn build(self) -> PhysicalDeviceProtectedMemoryFeatures
Trait Implementations§
source§impl Cast for PhysicalDeviceProtectedMemoryFeaturesBuilder
impl Cast for PhysicalDeviceProtectedMemoryFeaturesBuilder
§type Target = PhysicalDeviceProtectedMemoryFeatures
type Target = PhysicalDeviceProtectedMemoryFeatures
The other type this type can be used interchangeably with in FFI.
source§impl Clone for PhysicalDeviceProtectedMemoryFeaturesBuilder
impl Clone for PhysicalDeviceProtectedMemoryFeaturesBuilder
source§fn clone(&self) -> PhysicalDeviceProtectedMemoryFeaturesBuilder
fn clone(&self) -> PhysicalDeviceProtectedMemoryFeaturesBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for PhysicalDeviceProtectedMemoryFeaturesBuilder
impl Default for PhysicalDeviceProtectedMemoryFeaturesBuilder
source§fn default() -> PhysicalDeviceProtectedMemoryFeaturesBuilder
fn default() -> PhysicalDeviceProtectedMemoryFeaturesBuilder
Returns the “default value” for a type. Read more
impl Copy for PhysicalDeviceProtectedMemoryFeaturesBuilder
Auto Trait Implementations§
impl RefUnwindSafe for PhysicalDeviceProtectedMemoryFeaturesBuilder
impl !Send for PhysicalDeviceProtectedMemoryFeaturesBuilder
impl !Sync for PhysicalDeviceProtectedMemoryFeaturesBuilder
impl Unpin for PhysicalDeviceProtectedMemoryFeaturesBuilder
impl UnwindSafe for PhysicalDeviceProtectedMemoryFeaturesBuilder
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