#[repr(C)]pub struct CooperativeMatrixPropertiesKHR {
pub s_type: StructureType,
pub p_next: *mut c_void,
pub m_size: u32,
pub n_size: u32,
pub k_size: u32,
pub a_type: ComponentTypeKHR,
pub b_type: ComponentTypeKHR,
pub c_type: ComponentTypeKHR,
pub result_type: ComponentTypeKHR,
pub saturating_accumulation: u32,
pub scope: ScopeKHR,
}Expand description
VkCooperativeMatrixPropertiesKHR
Provided by VK_KHR_cooperative_matrix.
Returned only*, filled by Vulkan, not constructed by the application.
Fields§
§s_type: StructureTypeMust be VK_STRUCTURE_TYPE_COOPERATIVE_MATRIX_PROPERTIES_KHR.
p_next: *mut c_voidOptional, may be null.
m_size: u32§n_size: u32§k_size: u32§a_type: ComponentTypeKHR§b_type: ComponentTypeKHR§c_type: ComponentTypeKHR§result_type: ComponentTypeKHR§saturating_accumulation: u32§scope: ScopeKHRImplementations§
Source§impl CooperativeMatrixPropertiesKHR
impl CooperativeMatrixPropertiesKHR
Sourcepub fn builder<'a>() -> CooperativeMatrixPropertiesKHRBuilder<'a>
pub fn builder<'a>() -> CooperativeMatrixPropertiesKHRBuilder<'a>
Start building this struct; s_type is already set to the correct variant.
Trait Implementations§
Source§impl Clone for CooperativeMatrixPropertiesKHR
impl Clone for CooperativeMatrixPropertiesKHR
Source§fn clone(&self) -> CooperativeMatrixPropertiesKHR
fn clone(&self) -> CooperativeMatrixPropertiesKHR
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for CooperativeMatrixPropertiesKHR
Auto Trait Implementations§
impl Freeze for CooperativeMatrixPropertiesKHR
impl RefUnwindSafe for CooperativeMatrixPropertiesKHR
impl !Send for CooperativeMatrixPropertiesKHR
impl !Sync for CooperativeMatrixPropertiesKHR
impl Unpin for CooperativeMatrixPropertiesKHR
impl UnsafeUnpin for CooperativeMatrixPropertiesKHR
impl UnwindSafe for CooperativeMatrixPropertiesKHR
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