Struct pilka_lib::ash::vk::PerformanceCounterUnitKHR [−]
#[repr(transparent)]pub struct PerformanceCounterUnitKHR(_);
Expand description
Implementations
pub const fn from_raw(x: i32) -> PerformanceCounterUnitKHR
pub const GENERIC: PerformanceCounterUnitKHR
pub const PERCENTAGE: PerformanceCounterUnitKHR
pub const NANOSECONDS: PerformanceCounterUnitKHR
pub const BYTES: PerformanceCounterUnitKHR
pub const BYTES_PER_SECOND: PerformanceCounterUnitKHR
pub const KELVIN: PerformanceCounterUnitKHR
pub const WATTS: PerformanceCounterUnitKHR
pub const VOLTS: PerformanceCounterUnitKHR
pub const AMPS: PerformanceCounterUnitKHR
pub const HERTZ: PerformanceCounterUnitKHR
pub const CYCLES: PerformanceCounterUnitKHR
Trait Implementations
impl Clone for PerformanceCounterUnitKHR
impl Clone for PerformanceCounterUnitKHR
pub fn clone(&self) -> PerformanceCounterUnitKHR
pub fn clone(&self) -> PerformanceCounterUnitKHR
Returns a copy of the value. Read more
Performs copy-assignment from source
. Read more
impl Debug for PerformanceCounterUnitKHR
impl Debug for PerformanceCounterUnitKHR
impl Default for PerformanceCounterUnitKHR
impl Default for PerformanceCounterUnitKHR
pub fn default() -> PerformanceCounterUnitKHR
pub fn default() -> PerformanceCounterUnitKHR
Returns the “default value” for a type. Read more
impl Hash for PerformanceCounterUnitKHR
impl Hash for PerformanceCounterUnitKHR
impl Ord for PerformanceCounterUnitKHR
impl Ord for PerformanceCounterUnitKHR
pub fn cmp(&self, other: &PerformanceCounterUnitKHR) -> Ordering
pub fn cmp(&self, other: &PerformanceCounterUnitKHR) -> Ordering
Compares and returns the maximum of two values. Read more
Compares and returns the minimum of two values. Read more
pub fn eq(&self, other: &PerformanceCounterUnitKHR) -> bool
pub fn eq(&self, other: &PerformanceCounterUnitKHR) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
pub fn ne(&self, other: &PerformanceCounterUnitKHR) -> bool
pub fn ne(&self, other: &PerformanceCounterUnitKHR) -> bool
This method tests for !=
.
pub fn partial_cmp(&self, other: &PerformanceCounterUnitKHR) -> Option<Ordering>
pub fn partial_cmp(&self, other: &PerformanceCounterUnitKHR) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
impl Copy for PerformanceCounterUnitKHR
impl Eq for PerformanceCounterUnitKHR
impl StructuralEq for PerformanceCounterUnitKHR
Auto Trait Implementations
impl RefUnwindSafe for PerformanceCounterUnitKHR
impl Send for PerformanceCounterUnitKHR
impl Sync for PerformanceCounterUnitKHR
impl Unpin for PerformanceCounterUnitKHR
impl UnwindSafe for PerformanceCounterUnitKHR
Blanket Implementations
Mutably borrows from an owned value. Read more