Vector2Ext

Trait Vector2Ext 

Source
pub trait Vector2Ext {
    // Required methods
    fn follow(&mut self, other: &Self, fraction: f32);
    fn per_component_min(&self, other: &Self) -> Self;
    fn per_component_max(&self, other: &Self) -> Self;
}

Required Methods§

Source

fn follow(&mut self, other: &Self, fraction: f32)

Source

fn per_component_min(&self, other: &Self) -> Self

Source

fn per_component_max(&self, other: &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.

Implementations on Foreign Types§

Source§

impl Vector2Ext for Matrix<f32, Const<2>, Const<1>, ArrayStorage<f32, 2, 1>>

Source§

fn follow( &mut self, other: &Matrix<f32, Const<2>, Const<1>, ArrayStorage<f32, 2, 1>>, fraction: f32, )

Source§

fn per_component_min( &self, other: &Matrix<f32, Const<2>, Const<1>, ArrayStorage<f32, 2, 1>>, ) -> Matrix<f32, Const<2>, Const<1>, ArrayStorage<f32, 2, 1>>

Source§

fn per_component_max( &self, other: &Matrix<f32, Const<2>, Const<1>, ArrayStorage<f32, 2, 1>>, ) -> Matrix<f32, Const<2>, Const<1>, ArrayStorage<f32, 2, 1>>

Implementors§