pub enum RotationSequence {
ZXZ,
XYX,
YZY,
ZYZ,
XZX,
YXY,
XYZ,
YZX,
ZXY,
XZY,
ZYX,
YXZ,
}
Expand description
Specifies the rotation sequence of Euler angles.
Each variant reads from left to right.
For example, RotationSequence::XYZ
represents first a rotation
around the X axis, then around the Y axis, and finally around
the Z axis (X —> Y —> Z).
Variants§
Trait Implementations§
Source§impl Clone for RotationSequence
impl Clone for RotationSequence
Source§fn clone(&self) -> RotationSequence
fn clone(&self) -> RotationSequence
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for RotationSequence
impl Debug for RotationSequence
impl Copy for RotationSequence
Auto Trait Implementations§
impl Freeze for RotationSequence
impl RefUnwindSafe for RotationSequence
impl Send for RotationSequence
impl Sync for RotationSequence
impl Unpin for RotationSequence
impl UnwindSafe for RotationSequence
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