Struct screen_13::prelude::vk::SubgroupFeatureFlags
source · pub struct SubgroupFeatureFlags(_);Expand description
Implementations§
source§impl SubgroupFeatureFlags
impl SubgroupFeatureFlags
pub const fn empty() -> SubgroupFeatureFlags
pub const fn from_raw(x: u32) -> SubgroupFeatureFlags
pub const fn as_raw(self) -> u32
pub const fn is_empty(self) -> bool
pub const fn intersects(self, other: SubgroupFeatureFlags) -> bool
sourcepub const fn contains(self, other: SubgroupFeatureFlags) -> bool
pub const fn contains(self, other: SubgroupFeatureFlags) -> bool
Returns whether other is a subset of self
source§impl SubgroupFeatureFlags
impl SubgroupFeatureFlags
sourcepub const BASIC: SubgroupFeatureFlags = Self(1)
pub const BASIC: SubgroupFeatureFlags = Self(1)
Basic subgroup operations
sourcepub const VOTE: SubgroupFeatureFlags = Self(2)
pub const VOTE: SubgroupFeatureFlags = Self(2)
Vote subgroup operations
sourcepub const ARITHMETIC: SubgroupFeatureFlags = Self(4)
pub const ARITHMETIC: SubgroupFeatureFlags = Self(4)
Arithmetic subgroup operations
sourcepub const BALLOT: SubgroupFeatureFlags = Self(8)
pub const BALLOT: SubgroupFeatureFlags = Self(8)
Ballot subgroup operations
sourcepub const SHUFFLE: SubgroupFeatureFlags = Self(16)
pub const SHUFFLE: SubgroupFeatureFlags = Self(16)
Shuffle subgroup operations
sourcepub const SHUFFLE_RELATIVE: SubgroupFeatureFlags = Self(32)
pub const SHUFFLE_RELATIVE: SubgroupFeatureFlags = Self(32)
Shuffle relative subgroup operations
sourcepub const CLUSTERED: SubgroupFeatureFlags = Self(64)
pub const CLUSTERED: SubgroupFeatureFlags = Self(64)
Clustered subgroup operations
sourcepub const QUAD: SubgroupFeatureFlags = Self(128)
pub const QUAD: SubgroupFeatureFlags = Self(128)
Quad subgroup operations
source§impl SubgroupFeatureFlags
impl SubgroupFeatureFlags
Generated from ‘VK_NV_shader_subgroup_partitioned’
pub const PARTITIONED_NV: SubgroupFeatureFlags = Self(256)
Trait Implementations§
source§impl BitAnd<SubgroupFeatureFlags> for SubgroupFeatureFlags
impl BitAnd<SubgroupFeatureFlags> for SubgroupFeatureFlags
§type Output = SubgroupFeatureFlags
type Output = SubgroupFeatureFlags
The resulting type after applying the
& operator.source§fn bitand(self, rhs: SubgroupFeatureFlags) -> SubgroupFeatureFlags
fn bitand(self, rhs: SubgroupFeatureFlags) -> SubgroupFeatureFlags
Performs the
& operation. Read moresource§impl BitAndAssign<SubgroupFeatureFlags> for SubgroupFeatureFlags
impl BitAndAssign<SubgroupFeatureFlags> for SubgroupFeatureFlags
source§fn bitand_assign(&mut self, rhs: SubgroupFeatureFlags)
fn bitand_assign(&mut self, rhs: SubgroupFeatureFlags)
Performs the
&= operation. Read moresource§impl BitOr<SubgroupFeatureFlags> for SubgroupFeatureFlags
impl BitOr<SubgroupFeatureFlags> for SubgroupFeatureFlags
§type Output = SubgroupFeatureFlags
type Output = SubgroupFeatureFlags
The resulting type after applying the
| operator.source§fn bitor(self, rhs: SubgroupFeatureFlags) -> SubgroupFeatureFlags
fn bitor(self, rhs: SubgroupFeatureFlags) -> SubgroupFeatureFlags
Performs the
| operation. Read moresource§impl BitOrAssign<SubgroupFeatureFlags> for SubgroupFeatureFlags
impl BitOrAssign<SubgroupFeatureFlags> for SubgroupFeatureFlags
source§fn bitor_assign(&mut self, rhs: SubgroupFeatureFlags)
fn bitor_assign(&mut self, rhs: SubgroupFeatureFlags)
Performs the
|= operation. Read moresource§impl BitXor<SubgroupFeatureFlags> for SubgroupFeatureFlags
impl BitXor<SubgroupFeatureFlags> for SubgroupFeatureFlags
§type Output = SubgroupFeatureFlags
type Output = SubgroupFeatureFlags
The resulting type after applying the
^ operator.source§fn bitxor(self, rhs: SubgroupFeatureFlags) -> SubgroupFeatureFlags
fn bitxor(self, rhs: SubgroupFeatureFlags) -> SubgroupFeatureFlags
Performs the
^ operation. Read moresource§impl BitXorAssign<SubgroupFeatureFlags> for SubgroupFeatureFlags
impl BitXorAssign<SubgroupFeatureFlags> for SubgroupFeatureFlags
source§fn bitxor_assign(&mut self, rhs: SubgroupFeatureFlags)
fn bitxor_assign(&mut self, rhs: SubgroupFeatureFlags)
Performs the
^= operation. Read moresource§impl Clone for SubgroupFeatureFlags
impl Clone for SubgroupFeatureFlags
source§fn clone(&self) -> SubgroupFeatureFlags
fn clone(&self) -> SubgroupFeatureFlags
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 Debug for SubgroupFeatureFlags
impl Debug for SubgroupFeatureFlags
source§impl Default for SubgroupFeatureFlags
impl Default for SubgroupFeatureFlags
source§fn default() -> SubgroupFeatureFlags
fn default() -> SubgroupFeatureFlags
Returns the “default value” for a type. Read more
source§impl Hash for SubgroupFeatureFlags
impl Hash for SubgroupFeatureFlags
source§impl Not for SubgroupFeatureFlags
impl Not for SubgroupFeatureFlags
§type Output = SubgroupFeatureFlags
type Output = SubgroupFeatureFlags
The resulting type after applying the
! operator.source§fn not(self) -> SubgroupFeatureFlags
fn not(self) -> SubgroupFeatureFlags
Performs the unary
! operation. Read moresource§impl Ord for SubgroupFeatureFlags
impl Ord for SubgroupFeatureFlags
source§fn cmp(&self, other: &SubgroupFeatureFlags) -> Ordering
fn cmp(&self, other: &SubgroupFeatureFlags) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<SubgroupFeatureFlags> for SubgroupFeatureFlags
impl PartialEq<SubgroupFeatureFlags> for SubgroupFeatureFlags
source§fn eq(&self, other: &SubgroupFeatureFlags) -> bool
fn eq(&self, other: &SubgroupFeatureFlags) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd<SubgroupFeatureFlags> for SubgroupFeatureFlags
impl PartialOrd<SubgroupFeatureFlags> for SubgroupFeatureFlags
source§fn partial_cmp(&self, other: &SubgroupFeatureFlags) -> Option<Ordering>
fn partial_cmp(&self, other: &SubgroupFeatureFlags) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read more