Enum physx_sys::PxD6Motion
source · #[repr(i32)]
pub enum PxD6Motion {
Locked,
Limited,
Free,
}Expand description
Used to specify the range of motions allowed for a degree of freedom in a D6 joint.
Variants§
Locked
The DOF is locked, it does not allow relative motion.
Limited
The DOF is limited, it only allows motion within a specific range.
Free
The DOF is free and has its full range of motion.
Trait Implementations§
source§impl Clone for PxD6Motion
impl Clone for PxD6Motion
source§fn clone(&self) -> PxD6Motion
fn clone(&self) -> PxD6Motion
Returns a copy 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 moresource§impl Debug for PxD6Motion
impl Debug for PxD6Motion
source§impl PartialEq<PxD6Motion> for PxD6Motion
impl PartialEq<PxD6Motion> for PxD6Motion
source§fn eq(&self, other: &PxD6Motion) -> bool
fn eq(&self, other: &PxD6Motion) -> bool
This method tests for
self and other values to be equal, and is used
by ==.