pub trait Scalar:
ScalarBase
+ ElementOpApply
+ ComplexField { }Expand description
Trait alias for element types supported by einsum operations.
When the faer feature is enabled, this additionally requires faer::ComplexField
so that the faer GEMM backend can be used.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.
Implementors§
impl<T> Scalar for Twhere
T: ScalarBase + ElementOpApply + ComplexField,
Available on crate feature
faer and neither crate feature blas nor crate feature blas-inject only.