Enum k::JointType[][src]

pub enum JointType<T: RealField> {
    Fixed,
    Rotational {
        axis: Unit<Vector3<T>>,
    },
    Linear {
        axis: Unit<Vector3<T>>,
    },
}

Type of Joint, Fixed, Rotational, Linear is supported now

Variants

Fixed

Fixed joint. It has no joint_position and axis.

Rotational

Rotational joint around axis. It has an position [rad].

Fields of Rotational

axis: Unit<Vector3<T>>

axis of the joint

Linear

Linear joint. position is length

Fields of Linear

axis: Unit<Vector3<T>>

axis of the joint

Trait Implementations

impl<T: Clone + RealField> Clone for JointType<T>[src]

impl<T: Copy + RealField> Copy for JointType<T>[src]

impl<T: Debug + RealField> Debug for JointType<T>[src]

impl<T: RealField> Display for JointType<T>[src]

Auto Trait Implementations

impl<T> RefUnwindSafe for JointType<T> where
    T: RefUnwindSafe

impl<T> Send for JointType<T>

impl<T> Sync for JointType<T>

impl<T> Unpin for JointType<T> where
    T: Unpin

impl<T> UnwindSafe for JointType<T> where
    T: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<SS, SP> SupersetOf<SS> for SP where
    SS: SubsetOf<SP>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.