pub struct PhysicalDeviceCooperativeMatrixPropertiesKHR<'a> {
pub s_type: StructureType,
pub p_next: *mut c_void,
pub cooperative_matrix_supported_stages: ShaderStageFlags,
/* private fields */
}Expand description
Native structure VkPhysicalDeviceCooperativeMatrixPropertiesKHR.
Khronos reference: VkPhysicalDeviceCooperativeMatrixPropertiesKHR
Fields§
§s_type: StructureTypeNative field sType.
p_next: *mut c_voidNative field pNext.
cooperative_matrix_supported_stages: ShaderStageFlagsNative field cooperativeMatrixSupportedStages.
Implementations§
Source§impl<'a> PhysicalDeviceCooperativeMatrixPropertiesKHR<'a>
impl<'a> PhysicalDeviceCooperativeMatrixPropertiesKHR<'a>
Sourcepub fn new() -> Self
pub fn new() -> Self
Construct the record with its canonical sType tag and default native state.
Sourcepub fn set_cooperative_matrix_supported_stages(
self,
value: ShaderStageFlags,
) -> Self
pub fn set_cooperative_matrix_supported_stages( self, value: ShaderStageFlags, ) -> Self
Set native field cooperativeMatrixSupportedStages 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.
Trait Implementations§
Source§impl<'a> Default for PhysicalDeviceCooperativeMatrixPropertiesKHR<'a>
impl<'a> Default for PhysicalDeviceCooperativeMatrixPropertiesKHR<'a>
impl<'a, 'root> Extends<PhysicalDeviceProperties2<'root>> for PhysicalDeviceCooperativeMatrixPropertiesKHR<'a>
Auto Trait Implementations§
impl<'a> !Send for PhysicalDeviceCooperativeMatrixPropertiesKHR<'a>
impl<'a> !Sync for PhysicalDeviceCooperativeMatrixPropertiesKHR<'a>
impl<'a> !UnwindSafe for PhysicalDeviceCooperativeMatrixPropertiesKHR<'a>
impl<'a> Forget for PhysicalDeviceCooperativeMatrixPropertiesKHR<'a>
impl<'a> Freeze for PhysicalDeviceCooperativeMatrixPropertiesKHR<'a>
impl<'a> Move for PhysicalDeviceCooperativeMatrixPropertiesKHR<'a>
impl<'a> RefUnwindSafe for PhysicalDeviceCooperativeMatrixPropertiesKHR<'a>
impl<'a> Unpin for PhysicalDeviceCooperativeMatrixPropertiesKHR<'a>
impl<'a> UnsafeUnpin for PhysicalDeviceCooperativeMatrixPropertiesKHR<'a>
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