#[non_exhaustive]#[repr(u32)]pub enum VkPerformanceCounterScopeKHR {
VK_PERFORMANCE_COUNTER_SCOPE_COMMAND_BUFFER_KHR = 0,
VK_PERFORMANCE_COUNTER_SCOPE_RENDER_PASS_KHR = 1,
VK_PERFORMANCE_COUNTER_SCOPE_COMMAND_KHR = 2,
VK_PERFORMANCE_COUNTER_SCOPE_MAX_ENUM_KHR = 2_147_483_647,
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
VK_PERFORMANCE_COUNTER_SCOPE_COMMAND_BUFFER_KHR = 0
VK_PERFORMANCE_COUNTER_SCOPE_RENDER_PASS_KHR = 1
VK_PERFORMANCE_COUNTER_SCOPE_COMMAND_KHR = 2
VK_PERFORMANCE_COUNTER_SCOPE_MAX_ENUM_KHR = 2_147_483_647
Implementations§
Source§impl VkPerformanceCounterScopeKHR
impl VkPerformanceCounterScopeKHR
pub const VK_QUERY_SCOPE_COMMAND_BUFFER_KHR: VkPerformanceCounterScopeKHR = VkPerformanceCounterScopeKHR::VK_PERFORMANCE_COUNTER_SCOPE_COMMAND_BUFFER_KHR
Source§impl VkPerformanceCounterScopeKHR
impl VkPerformanceCounterScopeKHR
pub const VK_QUERY_SCOPE_RENDER_PASS_KHR: VkPerformanceCounterScopeKHR = VkPerformanceCounterScopeKHR::VK_PERFORMANCE_COUNTER_SCOPE_RENDER_PASS_KHR
Source§impl VkPerformanceCounterScopeKHR
impl VkPerformanceCounterScopeKHR
pub const VK_QUERY_SCOPE_COMMAND_KHR: VkPerformanceCounterScopeKHR = VkPerformanceCounterScopeKHR::VK_PERFORMANCE_COUNTER_SCOPE_COMMAND_KHR
Trait Implementations§
Source§impl Clone for VkPerformanceCounterScopeKHR
impl Clone for VkPerformanceCounterScopeKHR
Source§fn clone(&self) -> VkPerformanceCounterScopeKHR
fn clone(&self) -> VkPerformanceCounterScopeKHR
Returns a duplicate 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 Debug for VkPerformanceCounterScopeKHR
impl Debug for VkPerformanceCounterScopeKHR
Source§impl Hash for VkPerformanceCounterScopeKHR
impl Hash for VkPerformanceCounterScopeKHR
Source§impl PartialEq for VkPerformanceCounterScopeKHR
impl PartialEq for VkPerformanceCounterScopeKHR
Source§fn eq(&self, other: &VkPerformanceCounterScopeKHR) -> bool
fn eq(&self, other: &VkPerformanceCounterScopeKHR) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for VkPerformanceCounterScopeKHR
impl Eq for VkPerformanceCounterScopeKHR
impl StructuralPartialEq for VkPerformanceCounterScopeKHR
Auto Trait Implementations§
impl Freeze for VkPerformanceCounterScopeKHR
impl RefUnwindSafe for VkPerformanceCounterScopeKHR
impl Send for VkPerformanceCounterScopeKHR
impl Sync for VkPerformanceCounterScopeKHR
impl Unpin for VkPerformanceCounterScopeKHR
impl UnwindSafe for VkPerformanceCounterScopeKHR
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