Skip to main content

Vector2Ext

Trait Vector2Ext 

Source
pub trait Vector2Ext<S> {
    // Required method
    fn exterior_product(self, rhs: Self) -> S;
}
Expand description

Additional Vector2 methods

Required Methods§

Source

fn exterior_product(self, rhs: Self) -> S

Exterior or wedge product: $(a,b) \wedge (c,d) = ad - bc$

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§

Source§

impl<S: Ring> Vector2Ext<S> for Vector2<S>