Struct ash::vk::PerformanceCounterUnitKHR
source · pub struct PerformanceCounterUnitKHR(/* private fields */);
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 for PerformanceCounterUnitKHR
impl PartialEq 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 for PerformanceCounterUnitKHR
impl PartialOrd 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 moreimpl Copy for PerformanceCounterUnitKHR
impl Eq for PerformanceCounterUnitKHR
impl StructuralPartialEq for PerformanceCounterUnitKHR
Auto Trait Implementations§
impl Freeze for PerformanceCounterUnitKHR
impl RefUnwindSafe for PerformanceCounterUnitKHR
impl Send for PerformanceCounterUnitKHR
impl Sync for PerformanceCounterUnitKHR
impl Unpin for PerformanceCounterUnitKHR
impl UnwindSafe for PerformanceCounterUnitKHR
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