pub trait Cross{
// Required method
fn set_cross(&mut self, rhs: &Self) -> &mut Self;
// Provided method
fn cross(&self, rhs: &Self) -> Self { ... }
}
Expand description
Stable cross product of two vectors
Required Methods§
Provided Methods§
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.