pub trait FlakeVector2Ext {
// Required methods
fn angle_rad(&self) -> f32;
fn angle_towards(&self, target: Vector2) -> f32;
}Required Methods§
Sourcefn angle_towards(&self, target: Vector2) -> f32
fn angle_towards(&self, target: Vector2) -> f32
Returns the radian direction looking from this point toward a target point
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".