Struct screen_13::prelude::vk::SubgroupFeatureFlags
source · 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 moresourceimpl 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 moresourceimpl 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 moresourceimpl 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 moresourceimpl 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 moresourceimpl 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 moresourceimpl 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 moresourceimpl 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 moresourceimpl Ord for SubgroupFeatureFlags
impl Ord for SubgroupFeatureFlags
sourcefn cmp(&self, other: &SubgroupFeatureFlags) -> Ordering
fn cmp(&self, other: &SubgroupFeatureFlags) -> Ordering
1.21.0 · sourcefn 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
1.21.0 · sourcefn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
1.50.0 · sourcefn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl PartialEq<SubgroupFeatureFlags> for SubgroupFeatureFlags
impl PartialEq<SubgroupFeatureFlags> for SubgroupFeatureFlags
sourcefn eq(&self, other: &SubgroupFeatureFlags) -> bool
fn eq(&self, other: &SubgroupFeatureFlags) -> bool
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>
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 moreimpl 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 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