#[repr(transparent)]pub struct PhysicalDeviceSubgroupPropertiesBuilder { /* private fields */ }
Expand description
A builder for a PhysicalDeviceSubgroupProperties
.
Implementations§
source§impl PhysicalDeviceSubgroupPropertiesBuilder
impl PhysicalDeviceSubgroupPropertiesBuilder
pub fn subgroup_size(self, subgroup_size: u32) -> Self
pub fn supported_stages(self, supported_stages: ShaderStageFlags) -> Self
pub fn supported_operations( self, supported_operations: SubgroupFeatureFlags ) -> Self
pub fn quad_operations_in_all_stages( self, quad_operations_in_all_stages: bool ) -> Self
pub fn build(self) -> PhysicalDeviceSubgroupProperties
Trait Implementations§
source§impl Cast for PhysicalDeviceSubgroupPropertiesBuilder
impl Cast for PhysicalDeviceSubgroupPropertiesBuilder
§type Target = PhysicalDeviceSubgroupProperties
type Target = PhysicalDeviceSubgroupProperties
The other type this type can be used interchangeably with in FFI.
source§impl Clone for PhysicalDeviceSubgroupPropertiesBuilder
impl Clone for PhysicalDeviceSubgroupPropertiesBuilder
source§fn clone(&self) -> PhysicalDeviceSubgroupPropertiesBuilder
fn clone(&self) -> PhysicalDeviceSubgroupPropertiesBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for PhysicalDeviceSubgroupPropertiesBuilder
impl Default for PhysicalDeviceSubgroupPropertiesBuilder
source§fn default() -> PhysicalDeviceSubgroupPropertiesBuilder
fn default() -> PhysicalDeviceSubgroupPropertiesBuilder
Returns the “default value” for a type. Read more
impl Copy for PhysicalDeviceSubgroupPropertiesBuilder
Auto Trait Implementations§
impl RefUnwindSafe for PhysicalDeviceSubgroupPropertiesBuilder
impl !Send for PhysicalDeviceSubgroupPropertiesBuilder
impl !Sync for PhysicalDeviceSubgroupPropertiesBuilder
impl Unpin for PhysicalDeviceSubgroupPropertiesBuilder
impl UnwindSafe for PhysicalDeviceSubgroupPropertiesBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more