#[repr(C)]pub struct ShaderInstrumentationMetricDataHeaderARM {
pub result_index: u32,
pub result_sub_index: u32,
pub stages: ShaderStageFlags,
pub basic_block_index: u32,
}Expand description
Native structure VkShaderInstrumentationMetricDataHeaderARM.
Khronos reference: VkShaderInstrumentationMetricDataHeaderARM
Fields§
§result_index: u32Native field resultIndex.
result_sub_index: u32Native field resultSubIndex.
stages: ShaderStageFlagsNative field stages.
basic_block_index: u32Native field basicBlockIndex.
Implementations§
Source§impl ShaderInstrumentationMetricDataHeaderARM
impl ShaderInstrumentationMetricDataHeaderARM
Sourcepub fn set_result_index(self, value: u32) -> Self
pub fn set_result_index(self, value: u32) -> Self
Set native field resultIndex without native effects.
Sourcepub fn set_result_sub_index(self, value: u32) -> Self
pub fn set_result_sub_index(self, value: u32) -> Self
Set native field resultSubIndex without native effects.
Sourcepub fn set_stages(self, value: ShaderStageFlags) -> Self
pub fn set_stages(self, value: ShaderStageFlags) -> Self
Set native field stages without native effects.
Sourcepub fn set_basic_block_index(self, value: u32) -> Self
pub fn set_basic_block_index(self, value: u32) -> Self
Set native field basicBlockIndex without native effects.
Trait Implementations§
impl Copy for ShaderInstrumentationMetricDataHeaderARM
Auto Trait Implementations§
impl Forget for ShaderInstrumentationMetricDataHeaderARM
impl Freeze for ShaderInstrumentationMetricDataHeaderARM
impl Move for ShaderInstrumentationMetricDataHeaderARM
impl RefUnwindSafe for ShaderInstrumentationMetricDataHeaderARM
impl Send for ShaderInstrumentationMetricDataHeaderARM
impl Sync for ShaderInstrumentationMetricDataHeaderARM
impl Unpin for ShaderInstrumentationMetricDataHeaderARM
impl UnsafeUnpin for ShaderInstrumentationMetricDataHeaderARM
impl UnwindSafe for ShaderInstrumentationMetricDataHeaderARM
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