Trait Cross

Source
pub trait Cross
where Self: Copy + Clone,
{ // 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§

Source

fn set_cross(&mut self, rhs: &Self) -> &mut Self

Set the cross product between two vectors

Provided Methods§

Source

fn cross(&self, rhs: &Self) -> Self

Get the cross product between two vectors

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§