[][src]Type Definition airmash_protocol::Position

type Position = Vector2<Distance>;

A 2D vector of Distances.

Methods

impl Position
[src]

pub fn rotate(self, angle: Rotation) -> Self
[src]

Rotate a vector around the origin by angle.