#[repr(u32)]pub enum PerformanceCounterUnitKHR {
Generic = 0,
Percentage = 1,
Nanoseconds = 2,
Bytes = 3,
BytesPerSecond = 4,
Kelvin = 5,
Watts = 6,
Volts = 7,
Amps = 8,
Hertz = 9,
Cycles = 10,
}Expand description
Variants§
Generic = 0
Percentage = 1
Nanoseconds = 2
Bytes = 3
BytesPerSecond = 4
Kelvin = 5
Watts = 6
Volts = 7
Amps = 8
Hertz = 9
Cycles = 10
Trait Implementations§
Source§impl Clone for PerformanceCounterUnitKHR
impl Clone for PerformanceCounterUnitKHR
Source§fn clone(&self) -> PerformanceCounterUnitKHR
fn clone(&self) -> PerformanceCounterUnitKHR
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PerformanceCounterUnitKHR
Source§impl Debug for PerformanceCounterUnitKHR
impl Debug for PerformanceCounterUnitKHR
impl Eq for PerformanceCounterUnitKHR
Source§impl PartialEq for PerformanceCounterUnitKHR
impl PartialEq for PerformanceCounterUnitKHR
Source§fn eq(&self, other: &PerformanceCounterUnitKHR) -> bool
fn eq(&self, other: &PerformanceCounterUnitKHR) -> bool
Tests for
self and other values to be equal, and is used by ==.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 UnsafeUnpin for PerformanceCounterUnitKHR
impl UnwindSafe for PerformanceCounterUnitKHR
Blanket Implementations§
impl<T> Alias<T> for T
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