#[non_exhaustive]pub enum OperationKind {
ElementwiseTrinary {
a: DataType,
b: DataType,
c: DataType,
d: DataType,
},
ElementwiseBinary {
a: DataType,
c: DataType,
d: DataType,
},
Permutation {
a: DataType,
b: DataType,
},
Contraction {
a: DataType,
b: DataType,
c: DataType,
d: DataType,
},
Reduction {
a: DataType,
c: DataType,
d: DataType,
},
ContractionTrinary {
a: DataType,
b: DataType,
c: DataType,
d: DataType,
e: DataType,
},
BlockSparseContraction {
a_non_zero_blocks: u64,
b_non_zero_blocks: u64,
c_non_zero_blocks: u64,
d_non_zero_blocks: u64,
},
}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.
ElementwiseTrinary
ElementwiseBinary
Permutation
Contraction
Reduction
ContractionTrinary
BlockSparseContraction
Implementations§
Trait Implementations§
Source§impl Clone for OperationKind
impl Clone for OperationKind
Source§fn clone(&self) -> OperationKind
fn clone(&self) -> OperationKind
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 OperationKind
Source§impl Debug for OperationKind
impl Debug for OperationKind
impl Eq for OperationKind
Source§impl PartialEq for OperationKind
impl PartialEq for OperationKind
Source§fn eq(&self, other: &OperationKind) -> bool
fn eq(&self, other: &OperationKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for OperationKind
Auto Trait Implementations§
impl Freeze for OperationKind
impl RefUnwindSafe for OperationKind
impl Send for OperationKind
impl Sync for OperationKind
impl Unpin for OperationKind
impl UnsafeUnpin for OperationKind
impl UnwindSafe for OperationKind
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