#[repr(transparent)]pub struct SubgroupFeatureFlags(_);Expand description
Implementations
sourceimpl 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
sourceimpl 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
sourceimpl SubgroupFeatureFlags
impl SubgroupFeatureFlags
Generated from ‘VK_NV_shader_subgroup_partitioned’
pub const PARTITIONED_NV: SubgroupFeatureFlags = Self(256)
Trait Implementations
sourceimpl BitAnd<SubgroupFeatureFlags> for SubgroupFeatureFlags
impl BitAnd<SubgroupFeatureFlags> for SubgroupFeatureFlags
type Output = SubgroupFeatureFlags
type Output = SubgroupFeatureFlags
The resulting type after applying the & operator.
sourcefn bitand(self, rhs: SubgroupFeatureFlags) -> SubgroupFeatureFlags
fn bitand(self, rhs: SubgroupFeatureFlags) -> SubgroupFeatureFlags
Performs the & operation. Read more
sourceimpl BitAndAssign<SubgroupFeatureFlags> for SubgroupFeatureFlags
impl BitAndAssign<SubgroupFeatureFlags> for SubgroupFeatureFlags
sourcefn bitand_assign(&mut self, rhs: SubgroupFeatureFlags)
fn bitand_assign(&mut self, rhs: SubgroupFeatureFlags)
Performs the &= operation. Read more
sourceimpl BitOr<SubgroupFeatureFlags> for SubgroupFeatureFlags
impl BitOr<SubgroupFeatureFlags> for SubgroupFeatureFlags
type Output = SubgroupFeatureFlags
type Output = SubgroupFeatureFlags
The resulting type after applying the | operator.
sourcefn bitor(self, rhs: SubgroupFeatureFlags) -> SubgroupFeatureFlags
fn bitor(self, rhs: SubgroupFeatureFlags) -> SubgroupFeatureFlags
Performs the | operation. Read more
sourceimpl BitOrAssign<SubgroupFeatureFlags> for SubgroupFeatureFlags
impl BitOrAssign<SubgroupFeatureFlags> for SubgroupFeatureFlags
sourcefn bitor_assign(&mut self, rhs: SubgroupFeatureFlags)
fn bitor_assign(&mut self, rhs: SubgroupFeatureFlags)
Performs the |= operation. Read more
sourceimpl BitXor<SubgroupFeatureFlags> for SubgroupFeatureFlags
impl BitXor<SubgroupFeatureFlags> for SubgroupFeatureFlags
type Output = SubgroupFeatureFlags
type Output = SubgroupFeatureFlags
The resulting type after applying the ^ operator.
sourcefn bitxor(self, rhs: SubgroupFeatureFlags) -> SubgroupFeatureFlags
fn bitxor(self, rhs: SubgroupFeatureFlags) -> SubgroupFeatureFlags
Performs the ^ operation. Read more
sourceimpl BitXorAssign<SubgroupFeatureFlags> for SubgroupFeatureFlags
impl BitXorAssign<SubgroupFeatureFlags> for SubgroupFeatureFlags
sourcefn bitxor_assign(&mut self, rhs: SubgroupFeatureFlags)
fn bitxor_assign(&mut self, rhs: SubgroupFeatureFlags)
Performs the ^= operation. Read more
sourceimpl Clone for SubgroupFeatureFlags
impl Clone for SubgroupFeatureFlags
sourcefn clone(&self) -> SubgroupFeatureFlags
fn clone(&self) -> SubgroupFeatureFlags
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 more
sourceimpl Debug for SubgroupFeatureFlags
impl Debug for SubgroupFeatureFlags
sourceimpl Default for SubgroupFeatureFlags
impl Default for SubgroupFeatureFlags
sourcefn default() -> SubgroupFeatureFlags
fn default() -> SubgroupFeatureFlags
Returns the “default value” for a type. Read more
sourceimpl Hash for SubgroupFeatureFlags
impl Hash for SubgroupFeatureFlags
sourceimpl Not for SubgroupFeatureFlags
impl Not for SubgroupFeatureFlags
type Output = SubgroupFeatureFlags
type Output = SubgroupFeatureFlags
The resulting type after applying the ! operator.
sourcefn not(self) -> SubgroupFeatureFlags
fn not(self) -> SubgroupFeatureFlags
Performs the unary ! operation. Read more
sourceimpl Ord for SubgroupFeatureFlags
impl Ord for SubgroupFeatureFlags
sourceimpl PartialEq<SubgroupFeatureFlags> for SubgroupFeatureFlags
impl PartialEq<SubgroupFeatureFlags> for SubgroupFeatureFlags
sourcefn 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 ==. Read more
sourcefn ne(&self, other: &SubgroupFeatureFlags) -> bool
fn ne(&self, other: &SubgroupFeatureFlags) -> bool
This method tests for !=.
sourceimpl PartialOrd<SubgroupFeatureFlags> for SubgroupFeatureFlags
impl PartialOrd<SubgroupFeatureFlags> for SubgroupFeatureFlags
sourcefn partial_cmp(&self, other: &SubgroupFeatureFlags) -> Option<Ordering>
fn partial_cmp(&self, other: &SubgroupFeatureFlags) -> Option<Ordering>
This method returns an ordering between self and other values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · sourcefn 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
impl Copy for SubgroupFeatureFlags
impl Eq for SubgroupFeatureFlags
impl StructuralEq for SubgroupFeatureFlags
impl StructuralPartialEq for SubgroupFeatureFlags
Auto Trait Implementations
impl RefUnwindSafe for SubgroupFeatureFlags
impl Send for SubgroupFeatureFlags
impl Sync for SubgroupFeatureFlags
impl Unpin for SubgroupFeatureFlags
impl UnwindSafe for SubgroupFeatureFlags
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