#[repr(transparent)]pub struct PerformanceCounterUnitKHR(pub i32);Tuple Fields§
§0: i32Implementations§
Source§impl PerformanceCounterUnitKHR
impl PerformanceCounterUnitKHR
pub const GENERIC_KHR: Self
pub const PERCENTAGE_KHR: Self
pub const NANOSECONDS_KHR: Self
pub const BYTES_KHR: Self
pub const BYTES_PER_SECOND_KHR: Self
pub const KELVIN_KHR: Self
pub const WATTS_KHR: Self
pub const VOLTS_KHR: Self
pub const AMPS_KHR: Self
pub const HERTZ_KHR: Self
pub const CYCLES_KHR: Self
pub const fn from_raw(value: i32) -> Self
pub const fn as_raw(self) -> i32
pub const fn empty() -> Self
Trait Implementations§
Source§impl Clone for PerformanceCounterUnitKHR
impl Clone for PerformanceCounterUnitKHR
impl Copy for PerformanceCounterUnitKHR
Source§impl Debug for PerformanceCounterUnitKHR
impl Debug for PerformanceCounterUnitKHR
Source§impl Default for PerformanceCounterUnitKHR
impl Default for PerformanceCounterUnitKHR
impl Eq for PerformanceCounterUnitKHR
Source§impl Hash for PerformanceCounterUnitKHR
impl Hash 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 UnsafeUnpin 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