pub trait Triple<T> {
// Required methods
fn scalar_triple(a: Self, b: Self, c: Self) -> T;
fn vector_triple(a: Self, b: Self, c: Self) -> Self;
}
Expand description
trait for scalar and vector triple products
Required Methods§
Sourcefn scalar_triple(a: Self, b: Self, c: Self) -> T
fn scalar_triple(a: Self, b: Self, c: Self) -> T
scalar triple product
Sourcefn vector_triple(a: Self, b: Self, c: Self) -> Self
fn vector_triple(a: Self, b: Self, c: Self) -> Self
vector triple product
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.