#[repr(C)]pub struct TCGen05InstrDescriptorBlockScaledAttrs { /* private fields */ }Implementations§
Source§impl TCGen05InstrDescriptorBlockScaledAttrs
impl TCGen05InstrDescriptorBlockScaledAttrs
Sourcepub fn new(
d_dtype: impl Into<String>,
a_dtype: impl Into<String>,
b_dtype: impl Into<String>,
sfa_dtype: impl Into<String>,
sfb_dtype: impl Into<String>,
M: i64,
N: i64,
K: i64,
trans_a: bool,
trans_b: bool,
n_cta_groups: i64,
neg_a: bool,
neg_b: bool,
is_sparse: bool,
) -> Self
pub fn new( d_dtype: impl Into<String>, a_dtype: impl Into<String>, b_dtype: impl Into<String>, sfa_dtype: impl Into<String>, sfb_dtype: impl Into<String>, M: i64, N: i64, K: i64, trans_a: bool, trans_b: bool, n_cta_groups: i64, neg_a: bool, neg_b: bool, is_sparse: bool, ) -> Self
Lossless complete-field allocation.
Trait Implementations§
Source§impl AnyCompatible for TCGen05InstrDescriptorBlockScaledAttrs
impl AnyCompatible for TCGen05InstrDescriptorBlockScaledAttrs
Source§unsafe fn is_undefined(field: *const Self) -> bool
unsafe fn is_undefined(field: *const Self) -> bool
Whether
field, which holds a value of this type or all-zero bytes,
holds all-zero bytes that are no value of this type, as a null object
reference, a string of type index None or a zero device type: a field
that a creator left undefined for reflection to set, as C++ UnsafeInit
leaves a reference undefined (null). Unlike a C++ undefined reference,
it is no value; a nullable reference is Option<T>, whose None is a
defined value. Read moreSource§unsafe fn copy_to_any_view(src: &Self, data: &mut TVMFFIAny)
unsafe fn copy_to_any_view(src: &Self, data: &mut TVMFFIAny)
the value to copy to TVMFFIAny
unsafe fn check_any_strict(data: &TVMFFIAny) -> bool
Source§unsafe fn copy_from_any_view_after_check(data: &TVMFFIAny) -> Self
unsafe fn copy_from_any_view_after_check(data: &TVMFFIAny) -> Self
Copy value from TVMFFIAny after checking
caller must ensure that the value is compatible with the type
Source§unsafe fn move_to_any(src: Self, data: &mut TVMFFIAny)
unsafe fn move_to_any(src: Self, data: &mut TVMFFIAny)
consume the value to move to Any
Source§unsafe fn move_from_any_after_check(data: &mut TVMFFIAny) -> Self
unsafe fn move_from_any_after_check(data: &mut TVMFFIAny) -> Self
the value to move from TVMFFIAny
NOTE: pay very careful attention to avoid memory leak! Read more
Source§unsafe fn try_cast_from_any_view(data: &TVMFFIAny) -> Result<Self, ()>
unsafe fn try_cast_from_any_view(data: &TVMFFIAny) -> Result<Self, ()>
try to cast the value from AnyView
Source§fn get_mismatch_type_info(data: &TVMFFIAny) -> String
fn get_mismatch_type_info(data: &TVMFFIAny) -> String
Get the type key of a type when TryCastFromAnyView fails.
Source§fn type_schema() -> String
fn type_schema() -> String
The type schema of the type: the JSON object C++
TypeTraits<T>::TypeSchema writes, which the type schemas of functions
and fields embed. Read moreSource§impl<'a> ArgIntoRef for &'a TCGen05InstrDescriptorBlockScaledAttrs
impl<'a> ArgIntoRef for &'a TCGen05InstrDescriptorBlockScaledAttrs
Source§impl Clone for TCGen05InstrDescriptorBlockScaledAttrs
impl Clone for TCGen05InstrDescriptorBlockScaledAttrs
Source§fn clone(&self) -> TCGen05InstrDescriptorBlockScaledAttrs
fn clone(&self) -> TCGen05InstrDescriptorBlockScaledAttrs
Returns a copy 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 Deref for TCGen05InstrDescriptorBlockScaledAttrs
impl Deref for TCGen05InstrDescriptorBlockScaledAttrs
Source§type Target = TCGen05InstrDescriptorBlockScaledAttrsObj
type Target = TCGen05InstrDescriptorBlockScaledAttrsObj
The resulting type after dereferencing.
Source§fn deref(&self) -> &TCGen05InstrDescriptorBlockScaledAttrsObj
fn deref(&self) -> &TCGen05InstrDescriptorBlockScaledAttrsObj
Dereferences the value.
Source§impl From<&TCGen05InstrDescriptorBlockScaledAttrs> for Attrs
impl From<&TCGen05InstrDescriptorBlockScaledAttrs> for Attrs
Source§fn from(value: &TCGen05InstrDescriptorBlockScaledAttrs) -> Self
fn from(value: &TCGen05InstrDescriptorBlockScaledAttrs) -> Self
Converts to this type from the input type.
Source§impl From<&TCGen05InstrDescriptorBlockScaledAttrs> for TCGen05InstrDescriptorBlockScaledAttrs
impl From<&TCGen05InstrDescriptorBlockScaledAttrs> for TCGen05InstrDescriptorBlockScaledAttrs
Source§fn from(value: &TCGen05InstrDescriptorBlockScaledAttrs) -> Self
fn from(value: &TCGen05InstrDescriptorBlockScaledAttrs) -> Self
Converts to this type from the input type.
Source§impl From<TCGen05InstrDescriptorBlockScaledAttrs> for Attrs
impl From<TCGen05InstrDescriptorBlockScaledAttrs> for Attrs
Source§fn from(value: TCGen05InstrDescriptorBlockScaledAttrs) -> Self
fn from(value: TCGen05InstrDescriptorBlockScaledAttrs) -> Self
Converts to this type from the input type.
Source§impl<'a> IntoArgHolder for &'a TCGen05InstrDescriptorBlockScaledAttrs
impl<'a> IntoArgHolder for &'a TCGen05InstrDescriptorBlockScaledAttrs
type Target = &'a TCGen05InstrDescriptorBlockScaledAttrs
fn into_arg_holder(self) -> Self::Target
Source§impl IntoArgHolder for TCGen05InstrDescriptorBlockScaledAttrs
impl IntoArgHolder for TCGen05InstrDescriptorBlockScaledAttrs
type Target = TCGen05InstrDescriptorBlockScaledAttrs
fn into_arg_holder(self) -> Self::Target
Source§impl ObjectRefCore for TCGen05InstrDescriptorBlockScaledAttrs
impl ObjectRefCore for TCGen05InstrDescriptorBlockScaledAttrs
type ContainerType = <ObjectArc<TCGen05InstrDescriptorBlockScaledAttrsObj> as Deref>::Target
fn data(this: &Self) -> &ObjectArc<Self::ContainerType>
fn into_data(this: Self) -> ObjectArc<Self::ContainerType>
Source§unsafe fn from_data(data: ObjectArc<Self::ContainerType>) -> Self
unsafe fn from_data(data: ObjectArc<Self::ContainerType>) -> Self
Construct a reference view from an owning container handle. Read more
Source§fn same_as<Other>(&self, other: &Other) -> boolwhere
Other: ObjectRefCore,
fn same_as<Other>(&self, other: &Other) -> boolwhere
Other: ObjectRefCore,
Return whether two object references point to the same allocation.
Source§fn downcast_ref<T>(&self) -> Option<&T>where
T: ObjectCore,
fn downcast_ref<T>(&self) -> Option<&T>where
T: ObjectCore,
Auto Trait Implementations§
impl Freeze for TCGen05InstrDescriptorBlockScaledAttrs
impl RefUnwindSafe for TCGen05InstrDescriptorBlockScaledAttrs
impl !Send for TCGen05InstrDescriptorBlockScaledAttrs
impl !Sync for TCGen05InstrDescriptorBlockScaledAttrs
impl Unpin for TCGen05InstrDescriptorBlockScaledAttrs
impl UnwindSafe for TCGen05InstrDescriptorBlockScaledAttrs
Blanket Implementations§
Source§impl<T> ArgType for Twhere
T: ObjectRefCore + AnyCompatible + 'static,
impl<T> ArgType for Twhere
T: ObjectRefCore + AnyCompatible + 'static,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> ObjectRefCast for Twhere
T: ObjectRefCore + AnyCompatible,
impl<T> ObjectRefCast for Twhere
T: ObjectRefCore + AnyCompatible,
Source§fn try_cast<B>(self) -> Result<B, Error>where
B: ObjectRefCore + AnyCompatible,
fn try_cast<B>(self) -> Result<B, Error>where
B: ObjectRefCore + AnyCompatible,
Consume
self and rewrap the underlying object as B without copying.