#[repr(u32)]pub enum Joint {
Show 20 variants
Type = 0,
FirstEntity = 1,
SecondEntity = 2,
FirstOffset = 3,
SecondOffset = 4,
FirstOrientation = 5,
SecondOrientation = 6,
Limits = 7,
LimitType = 8,
Velocity = 9,
DriveEnabled = 10,
DriveVelocity = 11,
DriveForceLimit = 12,
DriveGearRatio = 13,
DriveFreespin = 14,
BreakForce = 15,
BreakTorque = 16,
IsBroken = 17,
AngleOrPosition = 18,
LimitSpring = 19,
}Variants§
Type = 0
‘JointType’
FirstEntity = 1
‘EntityHandle’
SecondEntity = 2
‘EntityHandle’
FirstOffset = 3
‘Vec3’
SecondOffset = 4
‘Vec3’
FirstOrientation = 5
‘Quat’
SecondOrientation = 6
‘Quat’
Limits = 7
‘Vec2’
LimitType = 8
‘JointLimitType’
Velocity = 9
‘f32’
DriveEnabled = 10
‘bool’
DriveVelocity = 11
‘f32’
DriveForceLimit = 12
‘f32’
DriveGearRatio = 13
‘f32’
DriveFreespin = 14
‘bool’
BreakForce = 15
‘f32’
BreakTorque = 16
‘f32’
IsBroken = 17
‘bool’
AngleOrPosition = 18
‘Vec3’
LimitSpring = 19
‘Vec2’
Trait Implementations§
Source§impl CheckedBitPattern for Joint
impl CheckedBitPattern for Joint
Source§type Bits = u32
type Bits = u32
Self must have the same layout as the specified Bits except for
the possible invalid bit patterns being checked during
is_valid_bit_pattern.Source§fn is_valid_bit_pattern(bits: &Self::Bits) -> bool
fn is_valid_bit_pattern(bits: &Self::Bits) -> bool
If this function returns true, then it must be valid to reinterpret
bits
as &Self.Source§impl TryFromPrimitive for Joint
impl TryFromPrimitive for Joint
impl Copy for Joint
impl Eq for Joint
impl NoUninit for Joint
impl StructuralPartialEq for Joint
Auto Trait Implementations§
impl Freeze for Joint
impl RefUnwindSafe for Joint
impl Send for Joint
impl Sync for Joint
impl Unpin for Joint
impl UnwindSafe for Joint
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