#[repr(C)]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,
}Expand description
enum VkPerformanceCounterScopeKHR from VK_KHR_performance_query
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
pub const VK_QUERY_SCOPE_RENDER_PASS_KHR: VkPerformanceCounterScopeKHR = VkPerformanceCounterScopeKHR::VK_PERFORMANCE_COUNTER_SCOPE_RENDER_PASS_KHR
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 (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 VkPerformanceCounterScopeKHR
Source§impl Debug for VkPerformanceCounterScopeKHR
impl Debug for VkPerformanceCounterScopeKHR
impl Eq for VkPerformanceCounterScopeKHR
Source§impl Hash for VkPerformanceCounterScopeKHR
impl Hash for VkPerformanceCounterScopeKHR
Source§impl Ord for VkPerformanceCounterScopeKHR
impl Ord for VkPerformanceCounterScopeKHR
Source§fn cmp(&self, other: &VkPerformanceCounterScopeKHR) -> Ordering
fn cmp(&self, other: &VkPerformanceCounterScopeKHR) -> 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 VkPerformanceCounterScopeKHR
impl PartialOrd 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 UnsafeUnpin 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