Enum k::JointType[][src]

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

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

Variants

Fixed joitn

Rotational joint around axis. angle [rad].

Fields of Rotational

Linear joint. angle is length

Fields of Linear

Trait Implementations

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

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

Formats the value using the given formatter. Read more

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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl<T> Send for JointType<T> where
    T: Scalar

impl<T> Sync for JointType<T> where
    T: Scalar