#[repr(C)]pub struct PerformanceCounterKHR {
pub s_type: StructureType,
pub p_next: *mut c_void,
pub unit: PerformanceCounterUnitKHR,
pub scope: PerformanceCounterScopeKHR,
pub storage: PerformanceCounterStorageKHR,
pub uuid: [u8; 16],
}Expand description
VkPerformanceCounterKHR
Provided by VK_KHR_performance_query.
Returned only*, filled by Vulkan, not constructed by the application.
Fields§
§s_type: StructureTypeMust be VK_STRUCTURE_TYPE_PERFORMANCE_COUNTER_KHR.
p_next: *mut c_voidOptional, may be null.
unit: PerformanceCounterUnitKHR§scope: PerformanceCounterScopeKHR§storage: PerformanceCounterStorageKHR§uuid: [u8; 16]Implementations§
Source§impl PerformanceCounterKHR
impl PerformanceCounterKHR
Sourcepub fn builder<'a>() -> PerformanceCounterKHRBuilder<'a>
pub fn builder<'a>() -> PerformanceCounterKHRBuilder<'a>
Returns a builder for this struct with sType pre-filled.
Trait Implementations§
Source§impl Clone for PerformanceCounterKHR
impl Clone for PerformanceCounterKHR
Source§fn clone(&self) -> PerformanceCounterKHR
fn clone(&self) -> PerformanceCounterKHR
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 PerformanceCounterKHR
impl Debug for PerformanceCounterKHR
Source§impl Default for PerformanceCounterKHR
impl Default for PerformanceCounterKHR
impl Copy for PerformanceCounterKHR
Auto Trait Implementations§
impl Freeze for PerformanceCounterKHR
impl RefUnwindSafe for PerformanceCounterKHR
impl !Send for PerformanceCounterKHR
impl !Sync for PerformanceCounterKHR
impl Unpin for PerformanceCounterKHR
impl UnsafeUnpin for PerformanceCounterKHR
impl UnwindSafe for PerformanceCounterKHR
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