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 ==
.impl Copy for PxD6Motion
impl Eq for PxD6Motion
impl StructuralEq for PxD6Motion
impl StructuralPartialEq for PxD6Motion
Auto Trait Implementations§
impl RefUnwindSafe for PxD6Motion
impl Send for PxD6Motion
impl Sync for PxD6Motion
impl Unpin for PxD6Motion
impl UnwindSafe for PxD6Motion
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