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