pub struct PhysicalDeviceCoherentMemoryFeaturesAMDBuilder<'a> { /* private fields */ }
Implementations§
Source§impl<'a> PhysicalDeviceCoherentMemoryFeaturesAMDBuilder<'a>
impl<'a> PhysicalDeviceCoherentMemoryFeaturesAMDBuilder<'a>
pub fn device_coherent_memory(self, device_coherent_memory: bool) -> Self
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§
Source§impl<'a> Deref for PhysicalDeviceCoherentMemoryFeaturesAMDBuilder<'a>
impl<'a> Deref for PhysicalDeviceCoherentMemoryFeaturesAMDBuilder<'a>
Source§impl<'a> DerefMut for PhysicalDeviceCoherentMemoryFeaturesAMDBuilder<'a>
impl<'a> DerefMut for PhysicalDeviceCoherentMemoryFeaturesAMDBuilder<'a>
impl ExtendsDeviceCreateInfo for PhysicalDeviceCoherentMemoryFeaturesAMDBuilder<'_>
impl ExtendsPhysicalDeviceFeatures2 for PhysicalDeviceCoherentMemoryFeaturesAMDBuilder<'_>
Auto Trait Implementations§
impl<'a> Freeze for PhysicalDeviceCoherentMemoryFeaturesAMDBuilder<'a>
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§
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