Trait Scale2D

Source
pub trait Scale2D {
    // Required methods
    fn scale_2d(&self, factor: &V2) -> Self;
    fn scale_2d_mut(&mut self, factor: &V2);
}

Required Methods§

Source

fn scale_2d(&self, factor: &V2) -> Self

Source

fn scale_2d_mut(&mut self, factor: &V2)

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§