pub struct hkpSimpleContactConstraintDataInfo {
pub __ptr: Option<Pointer>,
pub m_flags: u16,
pub m_index: u16,
pub m_internalData0: f32,
pub m_rollingFrictionMultiplier: f16,
pub m_internalData1: f16,
pub m_data: [u32; 5],
}
Expand description
§C++ Info
- name:
hkpSimpleContactConstraintDataInfo
- version:
1
- signature:
0xb59d1734
- size:
32
(x86)/32
(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.
m_flags: u16
§C++ Info
- name:
flags
(ctype:hkUint16
) - offset:
0
(x86)/0
(x86_64) - type_size:
2
(x86)/2
(x86_64) - flags:
ALIGN_16
m_index: u16
§C++ Info
- name:
index
(ctype:hkUint16
) - offset:
2
(x86)/2
(x86_64) - type_size:
2
(x86)/2
(x86_64)
m_internalData0: f32
§C++ Info
- name:
internalData0
(ctype:hkReal
) - offset:
4
(x86)/4
(x86_64) - type_size:
4
(x86)/4
(x86_64)
m_rollingFrictionMultiplier: f16
§C++ Info
- name:
rollingFrictionMultiplier
(ctype:hkHalf
) - offset:
8
(x86)/8
(x86_64) - type_size:
2
(x86)/2
(x86_64)
m_internalData1: f16
§C++ Info
- name:
internalData1
(ctype:hkHalf
) - offset:
10
(x86)/10
(x86_64) - type_size:
2
(x86)/2
(x86_64)
m_data: [u32; 5]
§C++ Info
- name:
data
(ctype:hkUint32[5]
) - offset:
12
(x86)/12
(x86_64) - type_size:
20
(x86)/20
(x86_64)
Trait Implementations§
Source§impl<'de> Deserialize<'de> for hkpSimpleContactConstraintDataInfo
impl<'de> Deserialize<'de> for hkpSimpleContactConstraintDataInfo
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 hkpSimpleContactConstraintDataInfo
impl RefUnwindSafe for hkpSimpleContactConstraintDataInfo
impl Send for hkpSimpleContactConstraintDataInfo
impl Sync for hkpSimpleContactConstraintDataInfo
impl Unpin for hkpSimpleContactConstraintDataInfo
impl UnwindSafe for hkpSimpleContactConstraintDataInfo
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