pub struct PhysicsJoint { /* private fields */ }Expand description
JOIN — connects two bodies with the joint named by @ref jointType.
Implementations§
Source§impl PhysicsJoint
impl PhysicsJoint
pub fn body_a_index(&self) -> u32
pub fn set_body_a_index(&mut self, value: u32)
pub fn body_b_index(&self) -> u32
pub fn set_body_b_index(&mut self, value: u32)
Sourcepub fn padding_08(&self) -> u32
pub fn padding_08(&self) -> u32
Zero in every corpus joint.
pub fn set_padding_08(&mut self, value: u32)
pub fn joint_type(&self) -> PhysicsJointType
pub fn set_joint_type(&mut self, value: PhysicsJointType)
pub fn set_joint_id(&mut self, value: i16)
Trait Implementations§
Source§impl Debug for PhysicsJoint
impl Debug for PhysicsJoint
Source§impl Default for PhysicsJoint
impl Default for PhysicsJoint
Source§impl Drop for PhysicsJoint
impl Drop for PhysicsJoint
impl Send for PhysicsJoint
Auto Trait Implementations§
impl !Sync for PhysicsJoint
impl Freeze for PhysicsJoint
impl RefUnwindSafe for PhysicsJoint
impl Unpin for PhysicsJoint
impl UnsafeUnpin for PhysicsJoint
impl UnwindSafe for PhysicsJoint
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