#[repr(transparent)]pub struct VkPerformanceCounterDescriptionFlagsKHR(pub i32);Expand description
VkPerformanceCounterDescriptionFlagsKHR
Tuple Fields§
§0: i32Implementations§
Source§impl VkPerformanceCounterDescriptionFlagsKHR
impl VkPerformanceCounterDescriptionFlagsKHR
Sourcepub const fn has_any_flags(self, flags: Self) -> bool
pub const fn has_any_flags(self, flags: Self) -> bool
return is any bits in flags are set
Sourcepub const fn has_flags_only(self, flags: Self) -> bool
pub const fn has_flags_only(self, flags: Self) -> bool
return is only bits in flags are set
Trait Implementations§
Source§impl BitAndAssign for VkPerformanceCounterDescriptionFlagsKHR
impl BitAndAssign for VkPerformanceCounterDescriptionFlagsKHR
Source§fn bitand_assign(&mut self, rhs: Self)
fn bitand_assign(&mut self, rhs: Self)
Performs the
&= operation. Read moreSource§impl BitOrAssign for VkPerformanceCounterDescriptionFlagsKHR
impl BitOrAssign for VkPerformanceCounterDescriptionFlagsKHR
Source§fn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
Performs the
|= operation. Read moreSource§impl BitXorAssign for VkPerformanceCounterDescriptionFlagsKHR
impl BitXorAssign for VkPerformanceCounterDescriptionFlagsKHR
Source§fn bitxor_assign(&mut self, rhs: Self)
fn bitxor_assign(&mut self, rhs: Self)
Performs the
^= operation. Read moreSource§impl Clone for VkPerformanceCounterDescriptionFlagsKHR
impl Clone for VkPerformanceCounterDescriptionFlagsKHR
Source§fn clone(&self) -> VkPerformanceCounterDescriptionFlagsKHR
fn clone(&self) -> VkPerformanceCounterDescriptionFlagsKHR
Returns a duplicate 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 Default for VkPerformanceCounterDescriptionFlagsKHR
impl Default for VkPerformanceCounterDescriptionFlagsKHR
Source§fn default() -> VkPerformanceCounterDescriptionFlagsKHR
fn default() -> VkPerformanceCounterDescriptionFlagsKHR
Returns the “default value” for a type. Read more
Source§impl From<VkPerformanceCounterDescriptionFlagsKHR> for i32
impl From<VkPerformanceCounterDescriptionFlagsKHR> for i32
Source§fn from(value: VkPerformanceCounterDescriptionFlagsKHR) -> Self
fn from(value: VkPerformanceCounterDescriptionFlagsKHR) -> Self
Converts to this type from the input type.
Source§impl Ord for VkPerformanceCounterDescriptionFlagsKHR
impl Ord for VkPerformanceCounterDescriptionFlagsKHR
Source§fn cmp(&self, other: &VkPerformanceCounterDescriptionFlagsKHR) -> Ordering
fn cmp(&self, other: &VkPerformanceCounterDescriptionFlagsKHR) -> 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 for VkPerformanceCounterDescriptionFlagsKHR
impl PartialEq for VkPerformanceCounterDescriptionFlagsKHR
Source§fn eq(&self, other: &VkPerformanceCounterDescriptionFlagsKHR) -> bool
fn eq(&self, other: &VkPerformanceCounterDescriptionFlagsKHR) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for VkPerformanceCounterDescriptionFlagsKHR
impl PartialOrd for VkPerformanceCounterDescriptionFlagsKHR
impl Copy for VkPerformanceCounterDescriptionFlagsKHR
impl Eq for VkPerformanceCounterDescriptionFlagsKHR
impl StructuralPartialEq for VkPerformanceCounterDescriptionFlagsKHR
Auto Trait Implementations§
impl Freeze for VkPerformanceCounterDescriptionFlagsKHR
impl RefUnwindSafe for VkPerformanceCounterDescriptionFlagsKHR
impl Send for VkPerformanceCounterDescriptionFlagsKHR
impl Sync for VkPerformanceCounterDescriptionFlagsKHR
impl Unpin for VkPerformanceCounterDescriptionFlagsKHR
impl UnsafeUnpin for VkPerformanceCounterDescriptionFlagsKHR
impl UnwindSafe for VkPerformanceCounterDescriptionFlagsKHR
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