#[repr(C)]pub struct PerformanceCounterKHR {
pub sType: StructureType,
pub pNext: *const c_void,
pub unit: PerformanceCounterUnitKHR,
pub scope: PerformanceCounterScopeKHR,
pub storage: PerformanceCounterStorageKHR,
pub uuid: [u8; 16],
}Fields§
§sType: StructureType§pNext: *const c_void§unit: PerformanceCounterUnitKHR§scope: PerformanceCounterScopeKHR§storage: PerformanceCounterStorageKHR§uuid: [u8; 16]Implementations§
Source§impl PerformanceCounterKHR
impl PerformanceCounterKHR
pub fn new() -> Self
pub fn sType(self, sType: StructureType) -> Self
pub fn pNext(self, pNext: *const c_void) -> Self
pub fn unit(self, unit: PerformanceCounterUnitKHR) -> Self
pub fn scope(self, scope: PerformanceCounterScopeKHR) -> Self
pub fn storage(self, storage: PerformanceCounterStorageKHR) -> Self
pub fn uuid(self, uuid: [u8; 16]) -> Self
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
Source§fn default() -> PerformanceCounterKHR
fn default() -> PerformanceCounterKHR
Returns the “default value” for a type. Read more
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 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