Struct ash::vk::PerformanceCounterKHR
source · #[repr(C)]pub struct PerformanceCounterKHR<'a> {
pub s_type: StructureType,
pub p_next: *mut c_void,
pub unit: PerformanceCounterUnitKHR,
pub scope: PerformanceCounterScopeKHR,
pub storage: PerformanceCounterStorageKHR,
pub uuid: [u8; 16],
pub _marker: PhantomData<&'a ()>,
}
Expand description
Fields§
§s_type: StructureType
§p_next: *mut c_void
§unit: PerformanceCounterUnitKHR
§scope: PerformanceCounterScopeKHR
§storage: PerformanceCounterStorageKHR
§uuid: [u8; 16]
§_marker: PhantomData<&'a ()>
Implementations§
source§impl<'a> PerformanceCounterKHR<'a>
impl<'a> PerformanceCounterKHR<'a>
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<'a> Clone for PerformanceCounterKHR<'a>
impl<'a> Clone for PerformanceCounterKHR<'a>
source§fn clone(&self) -> PerformanceCounterKHR<'a>
fn clone(&self) -> PerformanceCounterKHR<'a>
Returns a copy 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<'a> Debug for PerformanceCounterKHR<'a>
impl<'a> Debug for PerformanceCounterKHR<'a>
source§impl Default for PerformanceCounterKHR<'_>
impl Default for PerformanceCounterKHR<'_>
source§impl<'a> TaggedStructure for PerformanceCounterKHR<'a>
impl<'a> TaggedStructure for PerformanceCounterKHR<'a>
const STRUCTURE_TYPE: StructureType = StructureType::PERFORMANCE_COUNTER_KHR
impl<'a> Copy for PerformanceCounterKHR<'a>
impl Send for PerformanceCounterKHR<'_>
impl Sync for PerformanceCounterKHR<'_>
Auto Trait Implementations§
impl<'a> Freeze for PerformanceCounterKHR<'a>
impl<'a> RefUnwindSafe for PerformanceCounterKHR<'a>
impl<'a> Unpin for PerformanceCounterKHR<'a>
impl<'a> UnwindSafe for PerformanceCounterKHR<'a>
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