Enum quaternion_core::RotationSequence
source · [−]pub enum RotationSequence {
ZXZ,
XYX,
YZY,
ZYZ,
XZX,
YXY,
XYZ,
YZX,
ZXY,
XZY,
ZYX,
YXZ,
}
Expand description
Represents 12 different rotations.
Each variant reads from left to right.
For example, RotationSequence::XYZ
represents rotation around the X axis first,
then the Y axis, and finally the Z axis in that order (X —> Y —> Z).
Variants
ZXZ
XYX
YZY
ZYZ
XZX
YXY
XYZ
YZX
ZXY
XZY
ZYX
YXZ
Trait Implementations
sourceimpl Clone for RotationSequence
impl Clone for RotationSequence
sourcefn clone(&self) -> RotationSequence
fn clone(&self) -> RotationSequence
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for RotationSequence
impl Debug for RotationSequence
impl Copy for RotationSequence
Auto Trait Implementations
impl RefUnwindSafe for RotationSequence
impl Send for RotationSequence
impl Sync for RotationSequence
impl Unpin for RotationSequence
impl UnwindSafe for RotationSequence
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