Enum hex_coordinates::Rotation
source · [−]pub enum Rotation {
Zero,
One,
Two,
Three,
Four,
Five,
Six,
Seven,
Eight,
Nine,
Ten,
Eleven,
}Expand description
A clockwise rotation in sixths.
Variants
Zero
360°, 2π, -360°, -2π
One
-300°, -⁵⁄₃π
Two
-240°, -⁴⁄₃π
Three
-180°, -π
Four
-120°, -⅔π
Five
-60°, -⅓π
Six
0°, 0
Seven
60°, ⅓π
Eight
120°, ⅔π
Nine
180°, π
Ten
240°, ⁴⁄₃π
Eleven
300°, ⁵⁄₃π
Trait Implementations
impl Copy for Rotation
Auto Trait Implementations
impl RefUnwindSafe for Rotation
impl Send for Rotation
impl Sync for Rotation
impl Unpin for Rotation
impl UnwindSafe for Rotation
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more