pub trait ParallelVector {
type Scalar;
// Required methods
fn par_add_vec(&self, rhs: &Self) -> Self;
fn par_sub_vec(&self, rhs: &Self) -> Self;
fn par_mul_scalar(&self, rhs: Self::Scalar) -> Self;
}
Expand description
Mathematical Vector in Parallel
Required Associated Types§
Required Methods§
fn par_add_vec(&self, rhs: &Self) -> Self
fn par_sub_vec(&self, rhs: &Self) -> Self
fn par_mul_scalar(&self, rhs: Self::Scalar) -> Self
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.