pub struct CooperativeVectorPropertiesNV<'a> {
pub s_type: StructureType,
pub p_next: *mut c_void,
pub input_type: ComponentTypeKHR,
pub input_interpretation: ComponentTypeKHR,
pub matrix_interpretation: ComponentTypeKHR,
pub bias_interpretation: ComponentTypeKHR,
pub result_type: ComponentTypeKHR,
pub transpose: Bool32,
/* private fields */
}Expand description
Native structure VkCooperativeVectorPropertiesNV.
Fields§
§s_type: StructureTypeNative field sType.
p_next: *mut c_voidNative field pNext.
input_type: ComponentTypeKHRNative field inputType.
input_interpretation: ComponentTypeKHRNative field inputInterpretation.
matrix_interpretation: ComponentTypeKHRNative field matrixInterpretation.
bias_interpretation: ComponentTypeKHRNative field biasInterpretation.
result_type: ComponentTypeKHRNative field resultType.
transpose: Bool32Native field transpose.
Implementations§
Source§impl<'a> CooperativeVectorPropertiesNV<'a>
impl<'a> CooperativeVectorPropertiesNV<'a>
Sourcepub fn new() -> Self
pub fn new() -> Self
Construct the record with its canonical sType tag and default native state.
Sourcepub fn set_input_type(self, value: ComponentTypeKHR) -> Self
pub fn set_input_type(self, value: ComponentTypeKHR) -> Self
Set native field inputType without native effects.
Sourcepub fn set_input_interpretation(self, value: ComponentTypeKHR) -> Self
pub fn set_input_interpretation(self, value: ComponentTypeKHR) -> Self
Set native field inputInterpretation without native effects.
Sourcepub fn set_matrix_interpretation(self, value: ComponentTypeKHR) -> Self
pub fn set_matrix_interpretation(self, value: ComponentTypeKHR) -> Self
Set native field matrixInterpretation without native effects.
Sourcepub fn set_bias_interpretation(self, value: ComponentTypeKHR) -> Self
pub fn set_bias_interpretation(self, value: ComponentTypeKHR) -> Self
Set native field biasInterpretation without native effects.
Sourcepub fn set_result_type(self, value: ComponentTypeKHR) -> Self
pub fn set_result_type(self, value: ComponentTypeKHR) -> Self
Set native field resultType without native effects.
Sourcepub fn set_transpose(self, value: Bool32) -> Self
pub fn set_transpose(self, value: Bool32) -> Self
Set native field transpose without native effects.
Sourcepub fn push_next<T: Extends<Self>>(
self,
next: &'a mut T,
) -> Result<Self, ConstructionError>
pub fn push_next<T: Extends<Self>>( self, next: &'a mut T, ) -> Result<Self, ConstructionError>
Prepend one registry-compatible node, retaining its exclusive borrow.
The node must have a null p_next and both headers must have canonical tags.
Existing links are never traversed and remain written after the borrow ends.
Type compatibility does not establish enabled extensions or Vulkan valid usage.
§Errors
Returns a construction error for a changed structure tag or already-linked node.