#[repr(transparent)]pub struct PerformanceCounterUnitKHR(pub i32);Expand description
Open integer representation of VkPerformanceCounterUnitKHR.
Tuple Fields§
§0: i32Implementations§
Source§impl PerformanceCounterUnitKHR
impl PerformanceCounterUnitKHR
Sourcepub const GENERIC_KHR: Self
pub const GENERIC_KHR: Self
Native value VK_PERFORMANCE_COUNTER_UNIT_GENERIC_KHR.
Sourcepub const PERCENTAGE_KHR: Self
pub const PERCENTAGE_KHR: Self
Native value VK_PERFORMANCE_COUNTER_UNIT_PERCENTAGE_KHR.
Khronos reference: VK_PERFORMANCE_COUNTER_UNIT_PERCENTAGE_KHR
Sourcepub const NANOSECONDS_KHR: Self
pub const NANOSECONDS_KHR: Self
Native value VK_PERFORMANCE_COUNTER_UNIT_NANOSECONDS_KHR.
Khronos reference: VK_PERFORMANCE_COUNTER_UNIT_NANOSECONDS_KHR
Sourcepub const BYTES_PER_SECOND_KHR: Self
pub const BYTES_PER_SECOND_KHR: Self
Native value VK_PERFORMANCE_COUNTER_UNIT_BYTES_PER_SECOND_KHR.
Khronos reference: VK_PERFORMANCE_COUNTER_UNIT_BYTES_PER_SECOND_KHR
Sourcepub const KELVIN_KHR: Self
pub const KELVIN_KHR: Self
Native value VK_PERFORMANCE_COUNTER_UNIT_KELVIN_KHR.
Sourcepub const CYCLES_KHR: Self
pub const CYCLES_KHR: Self
Native value VK_PERFORMANCE_COUNTER_UNIT_CYCLES_KHR.
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 Forget for PerformanceCounterUnitKHR
impl Freeze for PerformanceCounterUnitKHR
impl Move 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