#[repr(u64)]pub enum D6Axis {
X = 0,
Y = 1,
Z = 2,
Twist = 3,
Swing1 = 4,
Swing2 = 5,
}Expand description
The motion type of an axis of a D6 Joint.
Variants§
X = 0
X axis
Y = 1
Y axis
Z = 2
Z axis
Twist = 3
Twist (around X)
Swing1 = 4
Swing1 (Y)
Swing2 = 5
Swing2 (Z)
Trait Implementations§
Source§impl CheckedBitPattern for D6Axis
impl CheckedBitPattern for D6Axis
Source§type Bits = u64
type Bits = u64
Self must have the same layout as the specified Bits except for
the possible invalid bit patterns being checked during
is_valid_bit_pattern.Source§fn is_valid_bit_pattern(bits: &Self::Bits) -> bool
fn is_valid_bit_pattern(bits: &Self::Bits) -> bool
If this function returns true, then it must be valid to reinterpret
bits
as &Self.Source§impl TryFromPrimitive for D6Axis
impl TryFromPrimitive for D6Axis
impl Copy for D6Axis
impl Eq for D6Axis
impl NoUninit for D6Axis
impl StructuralPartialEq for D6Axis
Auto Trait Implementations§
impl Freeze for D6Axis
impl RefUnwindSafe for D6Axis
impl Send for D6Axis
impl Sync for D6Axis
impl Unpin for D6Axis
impl UnwindSafe for D6Axis
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