pub struct Joint { /* private fields */ }Implementations§
Source§impl Joint
impl Joint
pub fn bodies(&self) -> [RigidBodyHandle; 2]
pub fn description(&self) -> JointDesc
pub fn set_motor( &mut self, motor: Option<JointMotor>, ) -> Result<(), PhysicsError>
pub fn set_limits( &mut self, limits: Option<[f32; 2]>, ) -> Result<(), PhysicsError>
pub fn set_enabled(&mut self, enabled: bool)
pub fn set_contacts_enabled(&mut self, enabled: bool)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Joint
impl RefUnwindSafe for Joint
impl Send for Joint
impl Sync for Joint
impl Unpin for Joint
impl UnwindSafe for Joint
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