#[non_exhaustive]#[repr(u32)]pub enum ContractionFindAttribute {
Max = 65_535,
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Max = 65_535
Trait Implementations§
Source§impl Clone for ContractionFindAttribute
impl Clone for ContractionFindAttribute
Source§fn clone(&self) -> ContractionFindAttribute
fn clone(&self) -> ContractionFindAttribute
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ContractionFindAttribute
Source§impl Debug for ContractionFindAttribute
impl Debug for ContractionFindAttribute
impl Eq for ContractionFindAttribute
Source§impl From<ContractionFindAttribute> for u32
impl From<ContractionFindAttribute> for u32
Source§fn from(enum_value: ContractionFindAttribute) -> Self
fn from(enum_value: ContractionFindAttribute) -> Self
Converts to this type from the input type.
Source§impl From<ContractionFindAttribute> for cutensorMgContractionFindAttribute_t
impl From<ContractionFindAttribute> for cutensorMgContractionFindAttribute_t
Source§fn from(value: ContractionFindAttribute) -> Self
fn from(value: ContractionFindAttribute) -> Self
Converts to this type from the input type.
Source§impl From<cutensorMgContractionFindAttribute_t> for ContractionFindAttribute
impl From<cutensorMgContractionFindAttribute_t> for ContractionFindAttribute
Source§fn from(value: cutensorMgContractionFindAttribute_t) -> Self
fn from(value: cutensorMgContractionFindAttribute_t) -> Self
Converts to this type from the input type.
Source§impl Hash for ContractionFindAttribute
impl Hash for ContractionFindAttribute
Source§impl PartialEq for ContractionFindAttribute
impl PartialEq for ContractionFindAttribute
Source§fn eq(&self, other: &ContractionFindAttribute) -> bool
fn eq(&self, other: &ContractionFindAttribute) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ContractionFindAttribute
Source§impl TryFrom<u32> for ContractionFindAttribute
impl TryFrom<u32> for ContractionFindAttribute
Source§type Error = TryFromPrimitiveError<ContractionFindAttribute>
type Error = TryFromPrimitiveError<ContractionFindAttribute>
The type returned in the event of a conversion error.
Source§impl TryFromPrimitive for ContractionFindAttribute
impl TryFromPrimitive for ContractionFindAttribute
const NAME: &'static str = "ContractionFindAttribute"
type Primitive = u32
type Error = TryFromPrimitiveError<ContractionFindAttribute>
fn try_from_primitive( number: Self::Primitive, ) -> Result<Self, TryFromPrimitiveError<Self>>
Auto Trait Implementations§
impl Freeze for ContractionFindAttribute
impl RefUnwindSafe for ContractionFindAttribute
impl Send for ContractionFindAttribute
impl Sync for ContractionFindAttribute
impl Unpin for ContractionFindAttribute
impl UnsafeUnpin for ContractionFindAttribute
impl UnwindSafe for ContractionFindAttribute
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