#[repr(C)]pub struct CooperativeMatrixPropertiesKHR<'a> {
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: Bool32,
pub scope: ScopeKHR,
pub _marker: PhantomData<&'a ()>,
}Expand description
Fields§
§s_type: StructureType§p_next: *mut c_void§m_size: u32§n_size: u32§k_size: u32§a_type: ComponentTypeKHR§b_type: ComponentTypeKHR§c_type: ComponentTypeKHR§result_type: ComponentTypeKHR§saturating_accumulation: Bool32§scope: ScopeKHR§_marker: PhantomData<&'a ()>Implementations§
Source§impl<'a> CooperativeMatrixPropertiesKHR<'a>
impl<'a> CooperativeMatrixPropertiesKHR<'a>
pub fn m_size(self, m_size: u32) -> Self
pub fn n_size(self, n_size: u32) -> Self
pub fn k_size(self, k_size: u32) -> Self
pub fn a_type(self, a_type: ComponentTypeKHR) -> Self
pub fn b_type(self, b_type: ComponentTypeKHR) -> Self
pub fn c_type(self, c_type: ComponentTypeKHR) -> Self
pub fn result_type(self, result_type: ComponentTypeKHR) -> Self
pub fn saturating_accumulation(self, saturating_accumulation: bool) -> Self
pub fn scope(self, scope: ScopeKHR) -> Self
Trait Implementations§
Source§impl<'a> Clone for CooperativeMatrixPropertiesKHR<'a>
impl<'a> Clone for CooperativeMatrixPropertiesKHR<'a>
Source§fn clone(&self) -> CooperativeMatrixPropertiesKHR<'a>
fn clone(&self) -> CooperativeMatrixPropertiesKHR<'a>
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 moreSource§impl<'a> Debug for CooperativeMatrixPropertiesKHR<'a>
impl<'a> Debug for CooperativeMatrixPropertiesKHR<'a>
Source§impl Default for CooperativeMatrixPropertiesKHR<'_>
impl Default for CooperativeMatrixPropertiesKHR<'_>
Source§impl<'a> TaggedStructure for CooperativeMatrixPropertiesKHR<'a>
impl<'a> TaggedStructure for CooperativeMatrixPropertiesKHR<'a>
const STRUCTURE_TYPE: StructureType = StructureType::COOPERATIVE_MATRIX_PROPERTIES_KHR
impl<'a> Copy for CooperativeMatrixPropertiesKHR<'a>
impl Send for CooperativeMatrixPropertiesKHR<'_>
impl Sync for CooperativeMatrixPropertiesKHR<'_>
Auto Trait Implementations§
impl<'a> Freeze for CooperativeMatrixPropertiesKHR<'a>
impl<'a> RefUnwindSafe for CooperativeMatrixPropertiesKHR<'a>
impl<'a> Unpin for CooperativeMatrixPropertiesKHR<'a>
impl<'a> UnwindSafe for CooperativeMatrixPropertiesKHR<'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