#[repr(C)]pub struct GpaPerfCounterAMD {
pub block_type: GpaPerfBlockAMD,
pub block_instance: u32,
pub event_id: u32,
}Expand description
Native structure VkGpaPerfCounterAMD.
Fields§
§block_type: GpaPerfBlockAMDNative field blockType.
block_instance: u32Native field blockInstance.
event_id: u32Native field eventID.
Implementations§
Source§impl GpaPerfCounterAMD
impl GpaPerfCounterAMD
Sourcepub fn set_block_type(self, value: GpaPerfBlockAMD) -> Self
pub fn set_block_type(self, value: GpaPerfBlockAMD) -> Self
Set native field blockType without native effects.
Sourcepub fn set_block_instance(self, value: u32) -> Self
pub fn set_block_instance(self, value: u32) -> Self
Set native field blockInstance without native effects.
Sourcepub fn set_event_id(self, value: u32) -> Self
pub fn set_event_id(self, value: u32) -> Self
Set native field eventID without native effects.
Trait Implementations§
Source§impl Clone for GpaPerfCounterAMD
impl Clone for GpaPerfCounterAMD
impl Copy for GpaPerfCounterAMD
Auto Trait Implementations§
impl Forget for GpaPerfCounterAMD
impl Freeze for GpaPerfCounterAMD
impl Move for GpaPerfCounterAMD
impl RefUnwindSafe for GpaPerfCounterAMD
impl Send for GpaPerfCounterAMD
impl Sync for GpaPerfCounterAMD
impl Unpin for GpaPerfCounterAMD
impl UnsafeUnpin for GpaPerfCounterAMD
impl UnwindSafe for GpaPerfCounterAMD
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