Enum physx_sys::PxRevoluteJointFlag
source · #[repr(i32)]pub enum PxRevoluteJointFlag {
LimitEnabled = 1,
DriveEnabled = 2,
DriveFreespin = 4,
}
Expand description
Flags specific to the Revolute Joint.
Variants§
LimitEnabled = 1
enable the limit
DriveEnabled = 2
enable the drive
DriveFreespin = 4
if the existing velocity is beyond the drive velocity, do not add force
Trait Implementations§
source§impl Clone for PxRevoluteJointFlag
impl Clone for PxRevoluteJointFlag
source§fn clone(&self) -> PxRevoluteJointFlag
fn clone(&self) -> PxRevoluteJointFlag
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 PxRevoluteJointFlag
impl Debug for PxRevoluteJointFlag
source§impl PartialEq for PxRevoluteJointFlag
impl PartialEq for PxRevoluteJointFlag
source§fn eq(&self, other: &PxRevoluteJointFlag) -> bool
fn eq(&self, other: &PxRevoluteJointFlag) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for PxRevoluteJointFlag
impl Eq for PxRevoluteJointFlag
impl StructuralEq for PxRevoluteJointFlag
impl StructuralPartialEq for PxRevoluteJointFlag
Auto Trait Implementations§
impl RefUnwindSafe for PxRevoluteJointFlag
impl Send for PxRevoluteJointFlag
impl Sync for PxRevoluteJointFlag
impl Unpin for PxRevoluteJointFlag
impl UnwindSafe for PxRevoluteJointFlag
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