Skip to main content

AffineExtensions

Trait AffineExtensions 

Source
pub trait AffineExtensions {
    // Required methods
    fn angle(&self) -> f32;
    fn angle_dir(&self) -> Vec2;
}

Required Methods§

Source

fn angle(&self) -> f32

Source

fn angle_dir(&self) -> Vec2

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl AffineExtensions for Affine2

Source§

fn angle(&self) -> f32

Source§

fn angle_dir(&self) -> Vec2

Implementors§