Struct k::link::Inertial[][src]

pub struct Inertial<T: RealField> {
    pub mass: T,
    pub inertia: Matrix3<T>,
    // some fields omitted
}

Fields

mass: Tinertia: Matrix3<T>

Implementations

impl<T> Inertial<T> where
    T: RealField
[src]

pub fn from_mass(mass: T) -> Self[src]

pub fn new(origin: Isometry3<T>, mass: T, inertia: Matrix3<T>) -> Self[src]

pub fn set_origin(&mut self, origin: Isometry3<T>)[src]

pub fn origin(&self) -> &Isometry3<T>[src]

pub fn clear_world_transform(&mut self)[src]

pub fn set_world_transform(&mut self, trans: Isometry3<T>)[src]

pub fn world_transform(&self) -> &Option<Isometry3<T>>[src]

Trait Implementations

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

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

impl<T> From<Inertial> for Inertial<T> where
    T: RealField
[src]

Auto Trait Implementations

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

impl<T> Send for Inertial<T>

impl<T> Sync for Inertial<T>

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

impl<T> UnwindSafe for Inertial<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, 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.