#[repr(i32)]pub enum PhysicsJointType {
Spherical = 0,
Shoulder = 1,
Weld = 2,
Revolute = 3,
Prismatic = 4,
Distance = 5,
}Expand description
Which joint chunk a PhysicsJoint indexes into.
Variants§
Spherical = 0
SPHJ
Shoulder = 1
SHOJ / SHJ2
Weld = 2
WELJ / WLJ2 / WLJ3
Revolute = 3
REVJ / REV2, version 2+
Prismatic = 4
PRSJ / PRS2, version 2+
Distance = 5
DSTJ, version 2+
Trait Implementations§
Source§impl Clone for PhysicsJointType
impl Clone for PhysicsJointType
Source§fn clone(&self) -> PhysicsJointType
fn clone(&self) -> PhysicsJointType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PhysicsJointType
Source§impl Debug for PhysicsJointType
impl Debug for PhysicsJointType
impl Eq for PhysicsJointType
Source§impl Hash for PhysicsJointType
impl Hash for PhysicsJointType
Source§impl PartialEq for PhysicsJointType
impl PartialEq for PhysicsJointType
impl StructuralPartialEq for PhysicsJointType
Auto Trait Implementations§
impl Freeze for PhysicsJointType
impl RefUnwindSafe for PhysicsJointType
impl Send for PhysicsJointType
impl Sync for PhysicsJointType
impl Unpin for PhysicsJointType
impl UnsafeUnpin for PhysicsJointType
impl UnwindSafe for PhysicsJointType
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