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