[][src]Struct tm_rs::ffi::tm_physics_body_component_t

#[repr(C)]pub struct tm_physics_body_component_t {
    pub mass: f32,
    pub center_of_mass: tm_vec3_t,
    pub inertia_tensor: tm_vec3_t,
    pub inertia_tensor_rotation: tm_vec4_t,
    pub kinematic: bool,
    pub disable_gravity: bool,
    pub enable_ccd: bool,
    pub _padding_32: [i8; 1],
    pub linear_damping: f32,
    pub angular_damping: f32,
}

Fields

mass: f32center_of_mass: tm_vec3_tinertia_tensor: tm_vec3_tinertia_tensor_rotation: tm_vec4_tkinematic: booldisable_gravity: boolenable_ccd: bool_padding_32: [i8; 1]linear_damping: f32angular_damping: f32

Trait Implementations

impl Clone for tm_physics_body_component_t[src]

impl Copy for tm_physics_body_component_t[src]

Auto Trait Implementations

Blanket Implementations

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

impl<T> Any for T where
    T: Any
[src]

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

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

impl<T> CloneAny for T where
    T: Clone + Any
[src]

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

impl<T, U> Into<U> for T where
    U: From<T>, 
[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.