Enum physx_sys::ConstraintType
source · #[repr(i32)]pub enum ConstraintType {
ContactConstraint = 0,
JointConstraint = 1,
}
Expand description
Constraint descriptor used inside the solver
Variants§
ContactConstraint = 0
Defines this pair is a contact constraint
JointConstraint = 1
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 for ConstraintType
impl PartialEq 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 ==
.impl Copy for ConstraintType
impl Eq for ConstraintType
impl StructuralEq for ConstraintType
impl StructuralPartialEq for ConstraintType
Auto Trait Implementations§
impl RefUnwindSafe for ConstraintType
impl Send for ConstraintType
impl Sync for ConstraintType
impl Unpin for ConstraintType
impl UnwindSafe for ConstraintType
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