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.

Implementors§