Struct ash::vk::PerformanceCounterUnitKHR
source · #[repr(transparent)]pub struct PerformanceCounterUnitKHR(_);
Expand description
Implementations§
source§impl PerformanceCounterUnitKHR
impl PerformanceCounterUnitKHR
pub const GENERIC: Self = _
pub const PERCENTAGE: Self = _
pub const NANOSECONDS: Self = _
pub const BYTES: Self = _
pub const BYTES_PER_SECOND: Self = _
pub const KELVIN: Self = _
pub const WATTS: Self = _
pub const VOLTS: Self = _
pub const AMPS: Self = _
pub const HERTZ: Self = _
pub const CYCLES: Self = _
Trait Implementations§
source§impl Clone for PerformanceCounterUnitKHR
impl Clone for PerformanceCounterUnitKHR
source§fn clone(&self) -> PerformanceCounterUnitKHR
fn clone(&self) -> PerformanceCounterUnitKHR
Returns a copy 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 Debug for PerformanceCounterUnitKHR
impl Debug for PerformanceCounterUnitKHR
source§impl Default for PerformanceCounterUnitKHR
impl Default for PerformanceCounterUnitKHR
source§fn default() -> PerformanceCounterUnitKHR
fn default() -> PerformanceCounterUnitKHR
Returns the “default value” for a type. Read more
source§impl Hash for PerformanceCounterUnitKHR
impl Hash for PerformanceCounterUnitKHR
source§impl Ord for PerformanceCounterUnitKHR
impl Ord for PerformanceCounterUnitKHR
source§fn cmp(&self, other: &PerformanceCounterUnitKHR) -> Ordering
fn cmp(&self, other: &PerformanceCounterUnitKHR) -> 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<PerformanceCounterUnitKHR> for PerformanceCounterUnitKHR
impl PartialEq<PerformanceCounterUnitKHR> for PerformanceCounterUnitKHR
source§fn eq(&self, other: &PerformanceCounterUnitKHR) -> bool
fn eq(&self, other: &PerformanceCounterUnitKHR) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<PerformanceCounterUnitKHR> for PerformanceCounterUnitKHR
impl PartialOrd<PerformanceCounterUnitKHR> for PerformanceCounterUnitKHR
source§fn partial_cmp(&self, other: &PerformanceCounterUnitKHR) -> Option<Ordering>
fn partial_cmp(&self, other: &PerformanceCounterUnitKHR) -> Option<Ordering>
1.0.0 · source§fn 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