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 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 PartialOrd for PerformanceCounterUnitKHR
impl PartialOrd for PerformanceCounterUnitKHR
impl 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)