pub enum RotationOrder {
XYZ,
YXZ,
ZXY,
ZYX,
YZX,
XZY,
}Expand description
Rotation order for Euler angles.
Variants§
XYZ
X, then Y, then Z.
YXZ
Y, then X, then Z.
ZXY
Z, then X, then Y.
ZYX
Z, then Y, then X.
YZX
Y, then Z, then X.
XZY
X, then Z, then Y.
Trait Implementations§
Source§impl Clone for RotationOrder
impl Clone for RotationOrder
Source§fn clone(&self) -> RotationOrder
fn clone(&self) -> RotationOrder
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for RotationOrder
Source§impl Debug for RotationOrder
impl Debug for RotationOrder
Source§impl Default for RotationOrder
impl Default for RotationOrder
Source§fn default() -> RotationOrder
fn default() -> RotationOrder
Returns the “default value” for a type. Read more
impl Eq for RotationOrder
Source§impl Hash for RotationOrder
impl Hash for RotationOrder
Source§impl PartialEq for RotationOrder
impl PartialEq for RotationOrder
Source§fn eq(&self, other: &RotationOrder) -> bool
fn eq(&self, other: &RotationOrder) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RotationOrder
Auto Trait Implementations§
impl Freeze for RotationOrder
impl RefUnwindSafe for RotationOrder
impl Send for RotationOrder
impl Sync for RotationOrder
impl Unpin for RotationOrder
impl UnsafeUnpin for RotationOrder
impl UnwindSafe for RotationOrder
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more