#[repr(transparent)]pub struct PhysicalDeviceCoherentMemoryFeaturesAMDBuilder<'a> { /* private fields */ }Implementations
sourceimpl<'a> PhysicalDeviceCoherentMemoryFeaturesAMDBuilder<'a>
impl<'a> PhysicalDeviceCoherentMemoryFeaturesAMDBuilder<'a>
pub fn device_coherent_memory(
self,
device_coherent_memory: bool
) -> PhysicalDeviceCoherentMemoryFeaturesAMDBuilder<'a>
sourcepub fn build(self) -> PhysicalDeviceCoherentMemoryFeaturesAMD
pub fn build(self) -> PhysicalDeviceCoherentMemoryFeaturesAMD
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 PhysicalDeviceCoherentMemoryFeaturesAMDBuilder<'a>
impl<'a> Deref for PhysicalDeviceCoherentMemoryFeaturesAMDBuilder<'a>
type Target = PhysicalDeviceCoherentMemoryFeaturesAMD
type Target = PhysicalDeviceCoherentMemoryFeaturesAMD
The resulting type after dereferencing.
sourcefn deref(
&self
) -> &<PhysicalDeviceCoherentMemoryFeaturesAMDBuilder<'a> as Deref>::Target
fn deref(
&self
) -> &<PhysicalDeviceCoherentMemoryFeaturesAMDBuilder<'a> as Deref>::Target
Dereferences the value.
sourceimpl<'a> DerefMut for PhysicalDeviceCoherentMemoryFeaturesAMDBuilder<'a>
impl<'a> DerefMut for PhysicalDeviceCoherentMemoryFeaturesAMDBuilder<'a>
sourcefn deref_mut(
&mut self
) -> &mut <PhysicalDeviceCoherentMemoryFeaturesAMDBuilder<'a> as Deref>::Target
fn deref_mut(
&mut self
) -> &mut <PhysicalDeviceCoherentMemoryFeaturesAMDBuilder<'a> as Deref>::Target
Mutably dereferences the value.
impl<'_> ExtendsDeviceCreateInfo for PhysicalDeviceCoherentMemoryFeaturesAMDBuilder<'_>
impl<'_> ExtendsPhysicalDeviceFeatures2 for PhysicalDeviceCoherentMemoryFeaturesAMDBuilder<'_>
Auto Trait Implementations
impl<'a> RefUnwindSafe for PhysicalDeviceCoherentMemoryFeaturesAMDBuilder<'a>
impl<'a> !Send for PhysicalDeviceCoherentMemoryFeaturesAMDBuilder<'a>
impl<'a> !Sync for PhysicalDeviceCoherentMemoryFeaturesAMDBuilder<'a>
impl<'a> Unpin for PhysicalDeviceCoherentMemoryFeaturesAMDBuilder<'a>
impl<'a> UnwindSafe for PhysicalDeviceCoherentMemoryFeaturesAMDBuilder<'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