#[repr(C)]
pub struct SpvReflectShaderModule {
Show 22 fields pub generator: SpvReflectGenerator, pub entry_point_name: *const c_char, pub entry_point_id: u32, pub entry_point_count: u32, pub entry_points: *mut SpvReflectEntryPoint, pub source_language: SpvSourceLanguage, pub source_language_version: u32, pub source_file: *const c_char, pub source_source: *const c_char, pub spirv_execution_model: SpvExecutionModel, pub shader_stage: SpvReflectShaderStageFlagBits, pub descriptor_binding_count: u32, pub descriptor_bindings: *mut SpvReflectDescriptorBinding, pub descriptor_set_count: u32, pub descriptor_sets: [SpvReflectDescriptorSet; 64], pub input_variable_count: u32, pub input_variables: *mut SpvReflectInterfaceVariable, pub output_variable_count: u32, pub output_variables: *mut SpvReflectInterfaceVariable, pub push_constant_block_count: u32, pub push_constant_blocks: *mut SpvReflectBlockVariable, pub _internal: *mut SpvReflectShaderModule_Internal,
}
Expand description

@struct SpvReflectShaderModule

Fields

generator: SpvReflectGeneratorentry_point_name: *const c_charentry_point_id: u32entry_point_count: u32entry_points: *mut SpvReflectEntryPointsource_language: SpvSourceLanguagesource_language_version: u32source_file: *const c_charsource_source: *const c_charspirv_execution_model: SpvExecutionModelshader_stage: SpvReflectShaderStageFlagBitsdescriptor_binding_count: u32descriptor_bindings: *mut SpvReflectDescriptorBindingdescriptor_set_count: u32descriptor_sets: [SpvReflectDescriptorSet; 64]input_variable_count: u32input_variables: *mut SpvReflectInterfaceVariableoutput_variable_count: u32output_variables: *mut SpvReflectInterfaceVariablepush_constant_block_count: u32push_constant_blocks: *mut SpvReflectBlockVariable_internal: *mut SpvReflectShaderModule_Internal

Trait Implementations

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.