#[repr(C)]pub struct tm_physics_joint_component_t {Show 14 fields
pub joint_type: u32,
pub _padding_99: [i8; 4],
pub body_0: tm_entity_t,
pub body_1: tm_entity_t,
pub limit_enabled: bool,
pub _padding_102: [i8; 3],
pub __bindgen_anon_1: tm_physics_joint_component_t__bindgen_ty_1,
pub limit_restitution: f32,
pub limit_bounce_threshold: f32,
pub limit_stiffness: f32,
pub limit_damping: f32,
pub break_force: f32,
pub break_torque: f32,
pub _padding_117: [i8; 4],
}Fields§
§joint_type: u32§_padding_99: [i8; 4]§body_0: tm_entity_t§body_1: tm_entity_t§limit_enabled: bool§_padding_102: [i8; 3]§__bindgen_anon_1: tm_physics_joint_component_t__bindgen_ty_1§limit_restitution: f32§limit_bounce_threshold: f32§limit_stiffness: f32§limit_damping: f32§break_force: f32§break_torque: f32§_padding_117: [i8; 4]Trait Implementations§
Source§impl Clone for tm_physics_joint_component_t
impl Clone for tm_physics_joint_component_t
Source§fn clone(&self) -> tm_physics_joint_component_t
fn clone(&self) -> tm_physics_joint_component_t
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for tm_physics_joint_component_t
Auto Trait Implementations§
impl Freeze for tm_physics_joint_component_t
impl RefUnwindSafe for tm_physics_joint_component_t
impl Send for tm_physics_joint_component_t
impl Sync for tm_physics_joint_component_t
impl Unpin for tm_physics_joint_component_t
impl UnwindSafe for tm_physics_joint_component_t
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more