#[repr(transparent)]pub struct PhysicalDeviceShaderDemoteToHelperInvocationFeaturesBuilder<'a>(_, _);
Expand description
Implementations
sourceimpl<'a> PhysicalDeviceShaderDemoteToHelperInvocationFeaturesBuilder<'a>
impl<'a> PhysicalDeviceShaderDemoteToHelperInvocationFeaturesBuilder<'a>
pub fn new() -> PhysicalDeviceShaderDemoteToHelperInvocationFeaturesBuilder<'a>
pub fn shader_demote_to_helper_invocation(
self,
shader_demote_to_helper_invocation: bool
) -> Self
sourcepub fn build_dangling(
self
) -> PhysicalDeviceShaderDemoteToHelperInvocationFeatures
pub fn build_dangling(
self
) -> PhysicalDeviceShaderDemoteToHelperInvocationFeatures
Discards all lifetime information.
Use the Deref
and DerefMut
implementations if possible.
Methods from Deref<Target = PhysicalDeviceShaderDemoteToHelperInvocationFeatures>
pub const STRUCTURE_TYPE: StructureType = crate::vk1_0::StructureType::PHYSICAL_DEVICE_SHADER_DEMOTE_TO_HELPER_INVOCATION_FEATURES
Trait Implementations
sourceimpl<'a> Clone for PhysicalDeviceShaderDemoteToHelperInvocationFeaturesBuilder<'a>
impl<'a> Clone for PhysicalDeviceShaderDemoteToHelperInvocationFeaturesBuilder<'a>
sourcefn clone(
&self
) -> PhysicalDeviceShaderDemoteToHelperInvocationFeaturesBuilder<'a>
fn clone(
&self
) -> PhysicalDeviceShaderDemoteToHelperInvocationFeaturesBuilder<'a>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl<'a> Debug for PhysicalDeviceShaderDemoteToHelperInvocationFeaturesBuilder<'a>
impl<'a> Debug for PhysicalDeviceShaderDemoteToHelperInvocationFeaturesBuilder<'a>
sourceimpl<'a> Default for PhysicalDeviceShaderDemoteToHelperInvocationFeaturesBuilder<'a>
impl<'a> Default for PhysicalDeviceShaderDemoteToHelperInvocationFeaturesBuilder<'a>
sourcefn default() -> PhysicalDeviceShaderDemoteToHelperInvocationFeaturesBuilder<'a>
fn default() -> PhysicalDeviceShaderDemoteToHelperInvocationFeaturesBuilder<'a>
Returns the “default value” for a type. Read more
sourceimpl<'a> Deref for PhysicalDeviceShaderDemoteToHelperInvocationFeaturesBuilder<'a>
impl<'a> Deref for PhysicalDeviceShaderDemoteToHelperInvocationFeaturesBuilder<'a>
type Target = PhysicalDeviceShaderDemoteToHelperInvocationFeatures
type Target = PhysicalDeviceShaderDemoteToHelperInvocationFeatures
The resulting type after dereferencing.
sourceimpl<'a> ExtendableFrom<'a, PhysicalDeviceShaderDemoteToHelperInvocationFeaturesBuilder<'_>> for DeviceCreateInfoBuilder<'a>
impl<'a> ExtendableFrom<'a, PhysicalDeviceShaderDemoteToHelperInvocationFeaturesBuilder<'_>> for DeviceCreateInfoBuilder<'a>
sourcefn extend_from(self, addition: &'a mut T) -> Selfwhere
Self: Sized,
fn extend_from(self, addition: &'a mut T) -> Selfwhere
Self: Sized,
Inserts
addition
(+ its pointer chain) between the head and tail of
this pointer chain. Read moresourceimpl<'a> ExtendableFrom<'a, PhysicalDeviceShaderDemoteToHelperInvocationFeaturesBuilder<'_>> for PhysicalDeviceFeatures2Builder<'a>
impl<'a> ExtendableFrom<'a, PhysicalDeviceShaderDemoteToHelperInvocationFeaturesBuilder<'_>> for PhysicalDeviceFeatures2Builder<'a>
sourcefn extend_from(self, addition: &'a mut T) -> Selfwhere
Self: Sized,
fn extend_from(self, addition: &'a mut T) -> Selfwhere
Self: Sized,
Inserts
addition
(+ its pointer chain) between the head and tail of
this pointer chain. Read moreimpl<'a> Copy for PhysicalDeviceShaderDemoteToHelperInvocationFeaturesBuilder<'a>
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 Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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