Skip to main content

ConvertCooperativeVectorMatrixInfoNV

Struct ConvertCooperativeVectorMatrixInfoNV 

Source
#[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>

Source

pub fn src_size(self, src_size: usize) -> Self

Source

pub fn src_data(self, src_data: DeviceOrHostAddressConstKHR) -> Self

Source

pub fn dst_size(self, dst_size: &'a mut usize) -> Self

Source

pub fn dst_data(self, dst_data: DeviceOrHostAddressKHR) -> Self

Source

pub fn src_component_type(self, src_component_type: ComponentTypeKHR) -> Self

Source

pub fn dst_component_type(self, dst_component_type: ComponentTypeKHR) -> Self

Source

pub fn num_rows(self, num_rows: u32) -> Self

Source

pub fn num_columns(self, num_columns: u32) -> Self

Source

pub fn src_layout(self, src_layout: CooperativeVectorMatrixLayoutNV) -> Self

Source

pub fn src_stride(self, src_stride: usize) -> Self

Source

pub fn dst_layout(self, dst_layout: CooperativeVectorMatrixLayoutNV) -> Self

Source

pub fn dst_stride(self, dst_stride: usize) -> Self

Trait Implementations§

Source§

impl<'a> Clone for ConvertCooperativeVectorMatrixInfoNV<'a>

Source§

fn clone(&self) -> ConvertCooperativeVectorMatrixInfoNV<'a>

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for ConvertCooperativeVectorMatrixInfoNV<'_>

Available on crate feature debug only.
Source§

fn fmt(&self, fmt: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for ConvertCooperativeVectorMatrixInfoNV<'_>

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl<'a> TaggedStructure for ConvertCooperativeVectorMatrixInfoNV<'a>

Source§

const STRUCTURE_TYPE: StructureType = StructureType::CONVERT_COOPERATIVE_VECTOR_MATRIX_INFO_NV

Source§

impl<'a> Copy for ConvertCooperativeVectorMatrixInfoNV<'a>

Source§

impl Send for ConvertCooperativeVectorMatrixInfoNV<'_>

Source§

impl Sync for ConvertCooperativeVectorMatrixInfoNV<'_>

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.