Struct VkSubgroup Feature Flags
pub struct VkSubgroupFeatureFlags(/* private fields */);Expand description
Implementations§
§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
pub const fn contains(self, other: SubgroupFeatureFlags) -> bool
pub const fn contains(self, other: SubgroupFeatureFlags) -> bool
Returns whether other is a subset of self
§impl SubgroupFeatureFlags
impl SubgroupFeatureFlags
pub const BASIC: SubgroupFeatureFlags
pub const BASIC: SubgroupFeatureFlags
Basic subgroup operations
pub const VOTE: SubgroupFeatureFlags
pub const VOTE: SubgroupFeatureFlags
Vote subgroup operations
pub const ARITHMETIC: SubgroupFeatureFlags
pub const ARITHMETIC: SubgroupFeatureFlags
Arithmetic subgroup operations
pub const BALLOT: SubgroupFeatureFlags
pub const BALLOT: SubgroupFeatureFlags
Ballot subgroup operations
pub const SHUFFLE: SubgroupFeatureFlags
pub const SHUFFLE: SubgroupFeatureFlags
Shuffle subgroup operations
pub const SHUFFLE_RELATIVE: SubgroupFeatureFlags
pub const SHUFFLE_RELATIVE: SubgroupFeatureFlags
Shuffle relative subgroup operations
pub const CLUSTERED: SubgroupFeatureFlags
pub const CLUSTERED: SubgroupFeatureFlags
Clustered subgroup operations
pub const QUAD: SubgroupFeatureFlags
pub const QUAD: SubgroupFeatureFlags
Quad subgroup operations
§impl SubgroupFeatureFlags
Generated from ‘VK_NV_shader_subgroup_partitioned’
impl SubgroupFeatureFlags
Generated from ‘VK_NV_shader_subgroup_partitioned’
pub const PARTITIONED_NV: SubgroupFeatureFlags
§impl SubgroupFeatureFlags
Generated from ‘VK_KHR_shader_subgroup_rotate’
impl SubgroupFeatureFlags
Generated from ‘VK_KHR_shader_subgroup_rotate’
pub const ROTATE_KHR: SubgroupFeatureFlags
pub const ROTATE_CLUSTERED_KHR: SubgroupFeatureFlags
Trait Implementations§
§impl BitAnd for SubgroupFeatureFlags
impl BitAnd for SubgroupFeatureFlags
§type Output = SubgroupFeatureFlags
type Output = SubgroupFeatureFlags
The resulting type after applying the
& operator.§fn bitand(self, rhs: SubgroupFeatureFlags) -> SubgroupFeatureFlags
fn bitand(self, rhs: SubgroupFeatureFlags) -> SubgroupFeatureFlags
Performs the
& operation. Read more§impl BitAndAssign for SubgroupFeatureFlags
impl BitAndAssign for SubgroupFeatureFlags
§fn bitand_assign(&mut self, rhs: SubgroupFeatureFlags)
fn bitand_assign(&mut self, rhs: SubgroupFeatureFlags)
Performs the
&= operation. Read more§impl BitOr for SubgroupFeatureFlags
impl BitOr for SubgroupFeatureFlags
§type Output = SubgroupFeatureFlags
type Output = SubgroupFeatureFlags
The resulting type after applying the
| operator.§fn bitor(self, rhs: SubgroupFeatureFlags) -> SubgroupFeatureFlags
fn bitor(self, rhs: SubgroupFeatureFlags) -> SubgroupFeatureFlags
Performs the
| operation. Read more§impl BitOrAssign for SubgroupFeatureFlags
impl BitOrAssign for SubgroupFeatureFlags
§fn bitor_assign(&mut self, rhs: SubgroupFeatureFlags)
fn bitor_assign(&mut self, rhs: SubgroupFeatureFlags)
Performs the
|= operation. Read more§impl BitXor for SubgroupFeatureFlags
impl BitXor for SubgroupFeatureFlags
§type Output = SubgroupFeatureFlags
type Output = SubgroupFeatureFlags
The resulting type after applying the
^ operator.§fn bitxor(self, rhs: SubgroupFeatureFlags) -> SubgroupFeatureFlags
fn bitxor(self, rhs: SubgroupFeatureFlags) -> SubgroupFeatureFlags
Performs the
^ operation. Read more§impl BitXorAssign for SubgroupFeatureFlags
impl BitXorAssign for SubgroupFeatureFlags
§fn bitxor_assign(&mut self, rhs: SubgroupFeatureFlags)
fn bitxor_assign(&mut self, rhs: SubgroupFeatureFlags)
Performs the
^= operation. Read more§impl Clone for SubgroupFeatureFlags
impl Clone for SubgroupFeatureFlags
§fn clone(&self) -> SubgroupFeatureFlags
fn clone(&self) -> SubgroupFeatureFlags
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SubgroupFeatureFlags
§impl Debug for SubgroupFeatureFlags
impl Debug for SubgroupFeatureFlags
§impl Default for SubgroupFeatureFlags
impl Default for SubgroupFeatureFlags
§fn default() -> SubgroupFeatureFlags
fn default() -> SubgroupFeatureFlags
Returns the “default value” for a type. Read more
impl Eq for SubgroupFeatureFlags
§impl Hash for SubgroupFeatureFlags
impl Hash for SubgroupFeatureFlags
§impl Not for SubgroupFeatureFlags
impl Not for SubgroupFeatureFlags
§type Output = SubgroupFeatureFlags
type Output = SubgroupFeatureFlags
The resulting type after applying the
! operator.§fn not(self) -> SubgroupFeatureFlags
fn not(self) -> SubgroupFeatureFlags
Performs the unary
! operation. Read more§impl Ord for SubgroupFeatureFlags
impl Ord for SubgroupFeatureFlags
§fn cmp(&self, other: &SubgroupFeatureFlags) -> Ordering
fn cmp(&self, other: &SubgroupFeatureFlags) -> Ordering
1.21.0 (const: unstable) · 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
§impl PartialEq for SubgroupFeatureFlags
impl PartialEq for SubgroupFeatureFlags
§impl PartialOrd for SubgroupFeatureFlags
impl PartialOrd for SubgroupFeatureFlags
impl StructuralPartialEq for SubgroupFeatureFlags
Auto Trait Implementations§
impl Freeze for SubgroupFeatureFlags
impl RefUnwindSafe for SubgroupFeatureFlags
impl Send for SubgroupFeatureFlags
impl Sync for SubgroupFeatureFlags
impl Unpin for SubgroupFeatureFlags
impl UnsafeUnpin for SubgroupFeatureFlags
impl UnwindSafe for SubgroupFeatureFlags
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