pub trait Vector<F: Field>:
Mul<F, Output = Self>
+ Add<Self, Output = Self>
+ Sized
+ Copy {
// Required methods
fn len(self) -> F;
fn dot(self, rhs: Self) -> F;
fn norm(self) -> Self;
fn cross(self, rhs: Self) -> Self;
}
Required Methods§
fn len(self) -> F
fn dot(self, rhs: Self) -> F
fn norm(self) -> Self
fn cross(self, rhs: Self) -> 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.