pub struct hkpRackAndPinionConstraintAtom {
pub __ptr: Option<Pointer>,
pub parent: hkpConstraintAtom,
pub m_pinionRadiusOrScrewPitch: f32,
pub m_isScrew: bool,
pub m_memOffsetToInitialAngleOffset: i8,
pub m_memOffsetToPrevAngle: i8,
pub m_memOffsetToRevolutionCounter: i8,
}
Expand description
§C++ Info
- name:
hkpRackAndPinionConstraintAtom
- version:
0
- signature:
0x30cae006
- size:
12
(x86)/12
(x86_64) - vtable:
false
Fields§
§__ptr: Option<Pointer>
§Unique index for this class
- Represents a pointer on XML (
<hkobject name="#0001"></hkobject>
) Option::None
=> This class isclass in field
.(<hkobject></hkobject>
)
§Note
Not present in the binary & Not exist actual C++ field.
parent: hkpConstraintAtom
Alternative to C++ class inheritance.
m_pinionRadiusOrScrewPitch: f32
§C++ Info
- name:
pinionRadiusOrScrewPitch
(ctype:hkReal
) - offset:
4
(x86)/4
(x86_64) - type_size:
4
(x86)/4
(x86_64)
m_isScrew: bool
§C++ Info
- name:
isScrew
(ctype:hkBool
) - offset:
8
(x86)/8
(x86_64) - type_size:
1
(x86)/1
(x86_64)
m_memOffsetToInitialAngleOffset: i8
§C++ Info
- name:
memOffsetToInitialAngleOffset
(ctype:hkInt8
) - offset:
9
(x86)/9
(x86_64) - type_size:
1
(x86)/1
(x86_64)
m_memOffsetToPrevAngle: i8
§C++ Info
- name:
memOffsetToPrevAngle
(ctype:hkInt8
) - offset:
10
(x86)/10
(x86_64) - type_size:
1
(x86)/1
(x86_64)
m_memOffsetToRevolutionCounter: i8
§C++ Info
- name:
memOffsetToRevolutionCounter
(ctype:hkInt8
) - offset:
11
(x86)/11
(x86_64) - type_size:
1
(x86)/1
(x86_64)
Trait Implementations§
Source§impl<'de> Deserialize<'de> for hkpRackAndPinionConstraintAtom
impl<'de> Deserialize<'de> for hkpRackAndPinionConstraintAtom
Source§fn deserialize<__D>(deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for hkpRackAndPinionConstraintAtom
impl RefUnwindSafe for hkpRackAndPinionConstraintAtom
impl Send for hkpRackAndPinionConstraintAtom
impl Sync for hkpRackAndPinionConstraintAtom
impl Unpin for hkpRackAndPinionConstraintAtom
impl UnwindSafe for hkpRackAndPinionConstraintAtom
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more