Enum physx_sys::PxConstraintExtIDs
source · #[repr(i32)]pub enum PxConstraintExtIDs {
Joint = 0,
VehicleSuspLimitDeprecated = 1,
VehicleStickyTyreDeprecated = 2,
VehicleJoint = 3,
NextFreeId = 4,
InvalidId = 2_147_483_647,
}
Expand description
Unique identifiers for extensions classes which implement a constraint based on PxConstraint.
Users which want to create their own custom constraint types should choose an ID larger or equal to eNEXT_FREE_ID and not eINVALID_ID.
Variants§
Joint = 0
VehicleSuspLimitDeprecated = 1
VehicleStickyTyreDeprecated = 2
VehicleJoint = 3
NextFreeId = 4
InvalidId = 2_147_483_647
Trait Implementations§
source§impl Clone for PxConstraintExtIDs
impl Clone for PxConstraintExtIDs
source§fn clone(&self) -> PxConstraintExtIDs
fn clone(&self) -> PxConstraintExtIDs
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 PxConstraintExtIDs
impl Debug for PxConstraintExtIDs
source§impl PartialEq for PxConstraintExtIDs
impl PartialEq for PxConstraintExtIDs
source§fn eq(&self, other: &PxConstraintExtIDs) -> bool
fn eq(&self, other: &PxConstraintExtIDs) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for PxConstraintExtIDs
impl Eq for PxConstraintExtIDs
impl StructuralEq for PxConstraintExtIDs
impl StructuralPartialEq for PxConstraintExtIDs
Auto Trait Implementations§
impl RefUnwindSafe for PxConstraintExtIDs
impl Send for PxConstraintExtIDs
impl Sync for PxConstraintExtIDs
impl Unpin for PxConstraintExtIDs
impl UnwindSafe for PxConstraintExtIDs
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