Enum physx_sys::ConstraintType
source · #[repr(i32)]
pub enum ConstraintType {
ContactConstraint,
JointConstraint,
}Expand description
Constraint descriptor used inside the solver
Variants§
ContactConstraint
Defines this pair is a contact constraint
JointConstraint
Defines this pair is a joint constraint
Trait Implementations§
source§impl Clone for ConstraintType
impl Clone for ConstraintType
source§fn clone(&self) -> ConstraintType
fn clone(&self) -> ConstraintType
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 ConstraintType
impl Debug for ConstraintType
source§impl PartialEq<ConstraintType> for ConstraintType
impl PartialEq<ConstraintType> for ConstraintType
source§fn eq(&self, other: &ConstraintType) -> bool
fn eq(&self, other: &ConstraintType) -> bool
This method tests for
self and other values to be equal, and is used
by ==.