#[repr(C)]pub struct ConvertCooperativeVectorMatrixInfoNV<'a> {Show 15 fields
pub s_type: StructureType,
pub p_next: *const c_void,
pub src_size: usize,
pub src_data: DeviceOrHostAddressConstKHR,
pub p_dst_size: *mut usize,
pub dst_data: DeviceOrHostAddressKHR,
pub src_component_type: ComponentTypeKHR,
pub dst_component_type: ComponentTypeKHR,
pub num_rows: u32,
pub num_columns: u32,
pub src_layout: CooperativeVectorMatrixLayoutNV,
pub src_stride: usize,
pub dst_layout: CooperativeVectorMatrixLayoutNV,
pub dst_stride: usize,
pub _marker: PhantomData<&'a ()>,
}Expand description
Fields§
§s_type: StructureType§p_next: *const c_void§src_size: usize§src_data: DeviceOrHostAddressConstKHR§p_dst_size: *mut usize§dst_data: DeviceOrHostAddressKHR§src_component_type: ComponentTypeKHR§dst_component_type: ComponentTypeKHR§num_rows: u32§num_columns: u32§src_layout: CooperativeVectorMatrixLayoutNV§src_stride: usize§dst_layout: CooperativeVectorMatrixLayoutNV§dst_stride: usize§_marker: PhantomData<&'a ()>Implementations§
Source§impl<'a> ConvertCooperativeVectorMatrixInfoNV<'a>
impl<'a> ConvertCooperativeVectorMatrixInfoNV<'a>
pub fn src_size(self, src_size: usize) -> Self
pub fn src_data(self, src_data: DeviceOrHostAddressConstKHR) -> Self
pub fn dst_size(self, dst_size: &'a mut usize) -> Self
pub fn dst_data(self, dst_data: DeviceOrHostAddressKHR) -> Self
pub fn src_component_type(self, src_component_type: ComponentTypeKHR) -> Self
pub fn dst_component_type(self, dst_component_type: ComponentTypeKHR) -> Self
pub fn num_rows(self, num_rows: u32) -> Self
pub fn num_columns(self, num_columns: u32) -> Self
pub fn src_layout(self, src_layout: CooperativeVectorMatrixLayoutNV) -> Self
pub fn src_stride(self, src_stride: usize) -> Self
pub fn dst_layout(self, dst_layout: CooperativeVectorMatrixLayoutNV) -> Self
pub fn dst_stride(self, dst_stride: usize) -> Self
Trait Implementations§
Source§impl<'a> Clone for ConvertCooperativeVectorMatrixInfoNV<'a>
impl<'a> Clone for ConvertCooperativeVectorMatrixInfoNV<'a>
Source§fn clone(&self) -> ConvertCooperativeVectorMatrixInfoNV<'a>
fn clone(&self) -> ConvertCooperativeVectorMatrixInfoNV<'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 Debug for ConvertCooperativeVectorMatrixInfoNV<'_>
Available on crate feature debug only.
impl Debug for ConvertCooperativeVectorMatrixInfoNV<'_>
Available on crate feature
debug only.Source§impl Default for ConvertCooperativeVectorMatrixInfoNV<'_>
impl Default for ConvertCooperativeVectorMatrixInfoNV<'_>
Source§impl<'a> TaggedStructure for ConvertCooperativeVectorMatrixInfoNV<'a>
impl<'a> TaggedStructure for ConvertCooperativeVectorMatrixInfoNV<'a>
const STRUCTURE_TYPE: StructureType = StructureType::CONVERT_COOPERATIVE_VECTOR_MATRIX_INFO_NV
impl<'a> Copy for ConvertCooperativeVectorMatrixInfoNV<'a>
impl Send for ConvertCooperativeVectorMatrixInfoNV<'_>
impl Sync for ConvertCooperativeVectorMatrixInfoNV<'_>
Auto Trait Implementations§
impl<'a> Freeze for ConvertCooperativeVectorMatrixInfoNV<'a>
impl<'a> RefUnwindSafe for ConvertCooperativeVectorMatrixInfoNV<'a>
impl<'a> Unpin for ConvertCooperativeVectorMatrixInfoNV<'a>
impl<'a> UnwindSafe for ConvertCooperativeVectorMatrixInfoNV<'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