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