pub enum OrientationKind {
Euler,
Quaternion,
AxisAngle,
RotationMatrix,
Unknown,
Custom(String),
}Expand description
Descriptive orientation representation labels.
Variants§
Euler
Euler orientation label.
Quaternion
Quaternion orientation label.
AxisAngle
Axis-angle orientation label.
RotationMatrix
Rotation-matrix orientation label.
Unknown
Unknown orientation kind.
Custom(String)
Caller-defined orientation kind text.
Trait Implementations§
Source§impl Clone for OrientationKind
impl Clone for OrientationKind
Source§fn clone(&self) -> OrientationKind
fn clone(&self) -> OrientationKind
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 moreSource§impl Debug for OrientationKind
impl Debug for OrientationKind
Source§impl Display for OrientationKind
impl Display for OrientationKind
Source§impl FromStr for OrientationKind
impl FromStr for OrientationKind
Source§impl Hash for OrientationKind
impl Hash for OrientationKind
Source§impl Ord for OrientationKind
impl Ord for OrientationKind
Source§fn cmp(&self, other: &OrientationKind) -> Ordering
fn cmp(&self, other: &OrientationKind) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for OrientationKind
impl PartialEq for OrientationKind
Source§fn eq(&self, other: &OrientationKind) -> bool
fn eq(&self, other: &OrientationKind) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for OrientationKind
impl PartialOrd for OrientationKind
impl Eq for OrientationKind
impl StructuralPartialEq for OrientationKind
Auto Trait Implementations§
impl Freeze for OrientationKind
impl RefUnwindSafe for OrientationKind
impl Send for OrientationKind
impl Sync for OrientationKind
impl Unpin for OrientationKind
impl UnsafeUnpin for OrientationKind
impl UnwindSafe for OrientationKind
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