#[repr(transparent)]pub struct PhysicalDeviceShaderDemoteToHelperInvocationFeaturesEXTBuilder<'a> { /* private fields */ }
Implementations
sourceimpl<'a> PhysicalDeviceShaderDemoteToHelperInvocationFeaturesEXTBuilder<'a>
impl<'a> PhysicalDeviceShaderDemoteToHelperInvocationFeaturesEXTBuilder<'a>
pub fn shader_demote_to_helper_invocation(
self,
shader_demote_to_helper_invocation: bool
) -> Self
sourcepub fn build(self) -> PhysicalDeviceShaderDemoteToHelperInvocationFeaturesEXT
pub fn build(self) -> PhysicalDeviceShaderDemoteToHelperInvocationFeaturesEXT
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 PhysicalDeviceShaderDemoteToHelperInvocationFeaturesEXTBuilder<'a>
impl<'a> Deref for PhysicalDeviceShaderDemoteToHelperInvocationFeaturesEXTBuilder<'a>
type Target = PhysicalDeviceShaderDemoteToHelperInvocationFeaturesEXT
type Target = PhysicalDeviceShaderDemoteToHelperInvocationFeaturesEXT
The resulting type after dereferencing.
impl ExtendsDeviceCreateInfo for PhysicalDeviceShaderDemoteToHelperInvocationFeaturesEXTBuilder<'_>
impl ExtendsPhysicalDeviceFeatures2 for PhysicalDeviceShaderDemoteToHelperInvocationFeaturesEXTBuilder<'_>
Auto Trait Implementations
impl<'a> RefUnwindSafe for PhysicalDeviceShaderDemoteToHelperInvocationFeaturesEXTBuilder<'a>
impl<'a> !Send for PhysicalDeviceShaderDemoteToHelperInvocationFeaturesEXTBuilder<'a>
impl<'a> !Sync for PhysicalDeviceShaderDemoteToHelperInvocationFeaturesEXTBuilder<'a>
impl<'a> Unpin for PhysicalDeviceShaderDemoteToHelperInvocationFeaturesEXTBuilder<'a>
impl<'a> UnwindSafe for PhysicalDeviceShaderDemoteToHelperInvocationFeaturesEXTBuilder<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more