#[repr(u64)]
pub enum D6Axis {
X,
Y,
Z,
Twist,
Swing1,
Swing2,
}
Expand description
The motion type of an axis of a D6 Joint
.
Variants
X
X axis
Y
Y axis
Z
Z axis
Twist
Twist (around X)
Swing1
Swing1 (Y)
Swing2
Swing2 (Z)
Trait Implementations
sourceimpl CheckedBitPattern for D6Axis
impl CheckedBitPattern for D6Axis
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
. Read more
sourcefn is_valid_bit_pattern(bits: &<D6Axis as CheckedBitPattern>::Bits) -> bool
fn is_valid_bit_pattern(bits: &<D6Axis as CheckedBitPattern>::Bits) -> bool
If this function returns true, then it must be valid to reinterpret bits
as &Self
. Read more
sourceimpl PartialEq<D6Axis> for D6Axis
impl PartialEq<D6Axis> for D6Axis
impl Copy for D6Axis
impl Eq for D6Axis
impl NoUninit for D6Axis
impl StructuralEq for D6Axis
impl StructuralPartialEq for D6Axis
Auto Trait Implementations
impl RefUnwindSafe for D6Axis
impl Send for D6Axis
impl Sync for D6Axis
impl Unpin for D6Axis
impl UnwindSafe for D6Axis
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