#[repr(C)]pub struct GpaPerfBlockPropertiesAMD {
pub block_type: GpaPerfBlockAMD,
pub flags: GpaPerfBlockPropertiesFlagsAMD,
pub instance_count: u32,
pub max_event_id: u32,
pub max_global_only_counters: u32,
pub max_global_shared_counters: u32,
pub max_streaming_counters: u32,
}Expand description
Native structure VkGpaPerfBlockPropertiesAMD.
Fields§
§block_type: GpaPerfBlockAMDNative field blockType.
flags: GpaPerfBlockPropertiesFlagsAMDNative field flags.
instance_count: u32Native field instanceCount.
max_event_id: u32Native field maxEventID.
max_global_only_counters: u32Native field maxGlobalOnlyCounters.
Native field maxGlobalSharedCounters.
max_streaming_counters: u32Native field maxStreamingCounters.
Implementations§
Source§impl GpaPerfBlockPropertiesAMD
impl GpaPerfBlockPropertiesAMD
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_flags(self, value: GpaPerfBlockPropertiesFlagsAMD) -> Self
pub fn set_flags(self, value: GpaPerfBlockPropertiesFlagsAMD) -> Self
Set native field flags without native effects.
Sourcepub fn set_instance_count(self, value: u32) -> Self
pub fn set_instance_count(self, value: u32) -> Self
Set native field instanceCount without native effects.
Sourcepub fn set_max_event_id(self, value: u32) -> Self
pub fn set_max_event_id(self, value: u32) -> Self
Set native field maxEventID without native effects.
Sourcepub fn set_max_global_only_counters(self, value: u32) -> Self
pub fn set_max_global_only_counters(self, value: u32) -> Self
Set native field maxGlobalOnlyCounters without native effects.
Set native field maxGlobalSharedCounters without native effects.
Sourcepub fn set_max_streaming_counters(self, value: u32) -> Self
pub fn set_max_streaming_counters(self, value: u32) -> Self
Set native field maxStreamingCounters without native effects.
Trait Implementations§
Source§impl Clone for GpaPerfBlockPropertiesAMD
impl Clone for GpaPerfBlockPropertiesAMD
impl Copy for GpaPerfBlockPropertiesAMD
Auto Trait Implementations§
impl Forget for GpaPerfBlockPropertiesAMD
impl Freeze for GpaPerfBlockPropertiesAMD
impl Move for GpaPerfBlockPropertiesAMD
impl RefUnwindSafe for GpaPerfBlockPropertiesAMD
impl Send for GpaPerfBlockPropertiesAMD
impl Sync for GpaPerfBlockPropertiesAMD
impl Unpin for GpaPerfBlockPropertiesAMD
impl UnsafeUnpin for GpaPerfBlockPropertiesAMD
impl UnwindSafe for GpaPerfBlockPropertiesAMD
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