pub trait Vec2Rotate {
    // Required method
    fn rotate(self, radians: f32) -> Self;
}

Required Methods§

source

fn rotate(self, radians: f32) -> Self

Rotate the vector around 0.0.

Object Safety§

This trait is not object safe.

Implementors§