pub struct PerformanceCounterDescriptionFlagsKHR(_);Expand description
Implementations
sourceimpl PerformanceCounterDescriptionFlagsKHR
impl PerformanceCounterDescriptionFlagsKHR
pub const fn empty() -> PerformanceCounterDescriptionFlagsKHR
pub const fn from_raw(x: u32) -> PerformanceCounterDescriptionFlagsKHR
pub const fn as_raw(self) -> u32
pub const fn is_empty(self) -> bool
pub const fn intersects(
self,
other: PerformanceCounterDescriptionFlagsKHR
) -> bool
sourcepub const fn contains(self, other: PerformanceCounterDescriptionFlagsKHR) -> bool
pub const fn contains(self, other: PerformanceCounterDescriptionFlagsKHR) -> bool
Returns whether other is a subset of self
sourceimpl PerformanceCounterDescriptionFlagsKHR
impl PerformanceCounterDescriptionFlagsKHR
pub const PERFORMANCE_IMPACTING: PerformanceCounterDescriptionFlagsKHR = Self(1)
pub const CONCURRENTLY_IMPACTED: PerformanceCounterDescriptionFlagsKHR = Self(2)
Trait Implementations
sourceimpl BitAnd<PerformanceCounterDescriptionFlagsKHR> for PerformanceCounterDescriptionFlagsKHR
impl BitAnd<PerformanceCounterDescriptionFlagsKHR> for PerformanceCounterDescriptionFlagsKHR
type Output = PerformanceCounterDescriptionFlagsKHR
type Output = PerformanceCounterDescriptionFlagsKHR
The resulting type after applying the
& operator.sourcefn bitand(
self,
rhs: PerformanceCounterDescriptionFlagsKHR
) -> PerformanceCounterDescriptionFlagsKHR
fn bitand(
self,
rhs: PerformanceCounterDescriptionFlagsKHR
) -> PerformanceCounterDescriptionFlagsKHR
Performs the
& operation. Read moresourceimpl BitAndAssign<PerformanceCounterDescriptionFlagsKHR> for PerformanceCounterDescriptionFlagsKHR
impl BitAndAssign<PerformanceCounterDescriptionFlagsKHR> for PerformanceCounterDescriptionFlagsKHR
sourcefn bitand_assign(&mut self, rhs: PerformanceCounterDescriptionFlagsKHR)
fn bitand_assign(&mut self, rhs: PerformanceCounterDescriptionFlagsKHR)
Performs the
&= operation. Read moresourceimpl BitOr<PerformanceCounterDescriptionFlagsKHR> for PerformanceCounterDescriptionFlagsKHR
impl BitOr<PerformanceCounterDescriptionFlagsKHR> for PerformanceCounterDescriptionFlagsKHR
type Output = PerformanceCounterDescriptionFlagsKHR
type Output = PerformanceCounterDescriptionFlagsKHR
The resulting type after applying the
| operator.sourcefn bitor(
self,
rhs: PerformanceCounterDescriptionFlagsKHR
) -> PerformanceCounterDescriptionFlagsKHR
fn bitor(
self,
rhs: PerformanceCounterDescriptionFlagsKHR
) -> PerformanceCounterDescriptionFlagsKHR
Performs the
| operation. Read moresourceimpl BitOrAssign<PerformanceCounterDescriptionFlagsKHR> for PerformanceCounterDescriptionFlagsKHR
impl BitOrAssign<PerformanceCounterDescriptionFlagsKHR> for PerformanceCounterDescriptionFlagsKHR
sourcefn bitor_assign(&mut self, rhs: PerformanceCounterDescriptionFlagsKHR)
fn bitor_assign(&mut self, rhs: PerformanceCounterDescriptionFlagsKHR)
Performs the
|= operation. Read moresourceimpl BitXor<PerformanceCounterDescriptionFlagsKHR> for PerformanceCounterDescriptionFlagsKHR
impl BitXor<PerformanceCounterDescriptionFlagsKHR> for PerformanceCounterDescriptionFlagsKHR
type Output = PerformanceCounterDescriptionFlagsKHR
type Output = PerformanceCounterDescriptionFlagsKHR
The resulting type after applying the
^ operator.sourcefn bitxor(
self,
rhs: PerformanceCounterDescriptionFlagsKHR
) -> PerformanceCounterDescriptionFlagsKHR
fn bitxor(
self,
rhs: PerformanceCounterDescriptionFlagsKHR
) -> PerformanceCounterDescriptionFlagsKHR
Performs the
^ operation. Read moresourceimpl BitXorAssign<PerformanceCounterDescriptionFlagsKHR> for PerformanceCounterDescriptionFlagsKHR
impl BitXorAssign<PerformanceCounterDescriptionFlagsKHR> for PerformanceCounterDescriptionFlagsKHR
sourcefn bitxor_assign(&mut self, rhs: PerformanceCounterDescriptionFlagsKHR)
fn bitxor_assign(&mut self, rhs: PerformanceCounterDescriptionFlagsKHR)
Performs the
^= operation. Read moresourceimpl Clone for PerformanceCounterDescriptionFlagsKHR
impl Clone for PerformanceCounterDescriptionFlagsKHR
sourcefn clone(&self) -> PerformanceCounterDescriptionFlagsKHR
fn clone(&self) -> PerformanceCounterDescriptionFlagsKHR
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 Default for PerformanceCounterDescriptionFlagsKHR
impl Default for PerformanceCounterDescriptionFlagsKHR
sourcefn default() -> PerformanceCounterDescriptionFlagsKHR
fn default() -> PerformanceCounterDescriptionFlagsKHR
Returns the “default value” for a type. Read more
sourceimpl Not for PerformanceCounterDescriptionFlagsKHR
impl Not for PerformanceCounterDescriptionFlagsKHR
type Output = PerformanceCounterDescriptionFlagsKHR
type Output = PerformanceCounterDescriptionFlagsKHR
The resulting type after applying the
! operator.sourcefn not(self) -> PerformanceCounterDescriptionFlagsKHR
fn not(self) -> PerformanceCounterDescriptionFlagsKHR
Performs the unary
! operation. Read moresourceimpl Ord for PerformanceCounterDescriptionFlagsKHR
impl Ord for PerformanceCounterDescriptionFlagsKHR
sourcefn cmp(&self, other: &PerformanceCounterDescriptionFlagsKHR) -> Ordering
fn cmp(&self, other: &PerformanceCounterDescriptionFlagsKHR) -> 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<PerformanceCounterDescriptionFlagsKHR> for PerformanceCounterDescriptionFlagsKHR
impl PartialEq<PerformanceCounterDescriptionFlagsKHR> for PerformanceCounterDescriptionFlagsKHR
sourcefn eq(&self, other: &PerformanceCounterDescriptionFlagsKHR) -> bool
fn eq(&self, other: &PerformanceCounterDescriptionFlagsKHR) -> bool
sourceimpl PartialOrd<PerformanceCounterDescriptionFlagsKHR> for PerformanceCounterDescriptionFlagsKHR
impl PartialOrd<PerformanceCounterDescriptionFlagsKHR> for PerformanceCounterDescriptionFlagsKHR
sourcefn partial_cmp(
&self,
other: &PerformanceCounterDescriptionFlagsKHR
) -> Option<Ordering>
fn partial_cmp(
&self,
other: &PerformanceCounterDescriptionFlagsKHR
) -> 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 PerformanceCounterDescriptionFlagsKHR
impl Eq for PerformanceCounterDescriptionFlagsKHR
impl StructuralEq for PerformanceCounterDescriptionFlagsKHR
impl StructuralPartialEq for PerformanceCounterDescriptionFlagsKHR
Auto Trait Implementations
impl RefUnwindSafe for PerformanceCounterDescriptionFlagsKHR
impl Send for PerformanceCounterDescriptionFlagsKHR
impl Sync for PerformanceCounterDescriptionFlagsKHR
impl Unpin for PerformanceCounterDescriptionFlagsKHR
impl UnwindSafe for PerformanceCounterDescriptionFlagsKHR
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