#[repr(C)]pub enum VkPerformanceCounterUnitKHR {
VK_PERFORMANCE_COUNTER_UNIT_GENERIC_KHR = 0,
VK_PERFORMANCE_COUNTER_UNIT_PERCENTAGE_KHR = 1,
VK_PERFORMANCE_COUNTER_UNIT_NANOSECONDS_KHR = 2,
VK_PERFORMANCE_COUNTER_UNIT_BYTES_KHR = 3,
VK_PERFORMANCE_COUNTER_UNIT_BYTES_PER_SECOND_KHR = 4,
VK_PERFORMANCE_COUNTER_UNIT_KELVIN_KHR = 5,
VK_PERFORMANCE_COUNTER_UNIT_WATTS_KHR = 6,
VK_PERFORMANCE_COUNTER_UNIT_VOLTS_KHR = 7,
VK_PERFORMANCE_COUNTER_UNIT_AMPS_KHR = 8,
VK_PERFORMANCE_COUNTER_UNIT_HERTZ_KHR = 9,
VK_PERFORMANCE_COUNTER_UNIT_CYCLES_KHR = 10,
VK_PERFORMANCE_COUNTER_UNIT_MAX_ENUM_KHR = 2_147_483_647,
}Expand description
enum VkPerformanceCounterUnitKHR from VK_KHR_performance_query
Variants§
VK_PERFORMANCE_COUNTER_UNIT_GENERIC_KHR = 0
VK_PERFORMANCE_COUNTER_UNIT_PERCENTAGE_KHR = 1
VK_PERFORMANCE_COUNTER_UNIT_NANOSECONDS_KHR = 2
VK_PERFORMANCE_COUNTER_UNIT_BYTES_KHR = 3
VK_PERFORMANCE_COUNTER_UNIT_BYTES_PER_SECOND_KHR = 4
VK_PERFORMANCE_COUNTER_UNIT_KELVIN_KHR = 5
VK_PERFORMANCE_COUNTER_UNIT_WATTS_KHR = 6
VK_PERFORMANCE_COUNTER_UNIT_VOLTS_KHR = 7
VK_PERFORMANCE_COUNTER_UNIT_AMPS_KHR = 8
VK_PERFORMANCE_COUNTER_UNIT_HERTZ_KHR = 9
VK_PERFORMANCE_COUNTER_UNIT_CYCLES_KHR = 10
VK_PERFORMANCE_COUNTER_UNIT_MAX_ENUM_KHR = 2_147_483_647
Trait Implementations§
Source§impl Clone for VkPerformanceCounterUnitKHR
impl Clone for VkPerformanceCounterUnitKHR
Source§fn clone(&self) -> VkPerformanceCounterUnitKHR
fn clone(&self) -> VkPerformanceCounterUnitKHR
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 VkPerformanceCounterUnitKHR
Source§impl Debug for VkPerformanceCounterUnitKHR
impl Debug for VkPerformanceCounterUnitKHR
impl Eq for VkPerformanceCounterUnitKHR
Source§impl Hash for VkPerformanceCounterUnitKHR
impl Hash for VkPerformanceCounterUnitKHR
Source§impl Ord for VkPerformanceCounterUnitKHR
impl Ord for VkPerformanceCounterUnitKHR
Source§fn cmp(&self, other: &VkPerformanceCounterUnitKHR) -> Ordering
fn cmp(&self, other: &VkPerformanceCounterUnitKHR) -> Ordering
1.21.0 (const: unstable) · 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 VkPerformanceCounterUnitKHR
impl PartialOrd for VkPerformanceCounterUnitKHR
impl StructuralPartialEq for VkPerformanceCounterUnitKHR
Auto Trait Implementations§
impl Freeze for VkPerformanceCounterUnitKHR
impl RefUnwindSafe for VkPerformanceCounterUnitKHR
impl Send for VkPerformanceCounterUnitKHR
impl Sync for VkPerformanceCounterUnitKHR
impl Unpin for VkPerformanceCounterUnitKHR
impl UnsafeUnpin for VkPerformanceCounterUnitKHR
impl UnwindSafe for VkPerformanceCounterUnitKHR
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