pub struct hkpCallbackConstraintMotor {
pub __ptr: Option<Pointer>,
pub parent: hkpLimitedForceConstraintMotor,
pub m_callbackFunc: Pointer,
pub m_callbackType: CallbackType,
pub m_userData0: Ulong,
pub m_userData1: Ulong,
pub m_userData2: Ulong,
}
Expand description
§C++ Info
- name:
hkpCallbackConstraintMotor
- version:
0
- signature:
0xafcd79ad
- size:
40
(x86)/72
(x86_64) - vtable:
true
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: hkpLimitedForceConstraintMotor
Alternative to C++ class inheritance.
m_callbackFunc: Pointer
§C++ Info
- name:
callbackFunc
(ctype:void*
) - offset:
20
(x86)/32
(x86_64) - type_size:
4
(x86)/8
(x86_64) - flags:
SERIALIZE_IGNORED
m_callbackType: CallbackType
§C++ Info
- name:
callbackType
(ctype:enum CallbackType
) - offset:
24
(x86)/40
(x86_64) - type_size:
4
(x86)/4
(x86_64)
m_userData0: Ulong
§C++ Info
- name:
userData0
(ctype:hkUlong
) - offset:
28
(x86)/48
(x86_64) - type_size:
4
(x86)/8
(x86_64)
m_userData1: Ulong
§C++ Info
- name:
userData1
(ctype:hkUlong
) - offset:
32
(x86)/56
(x86_64) - type_size:
4
(x86)/8
(x86_64)
m_userData2: Ulong
§C++ Info
- name:
userData2
(ctype:hkUlong
) - offset:
36
(x86)/64
(x86_64) - type_size:
4
(x86)/8
(x86_64)
Trait Implementations§
Source§impl Clone for hkpCallbackConstraintMotor
impl Clone for hkpCallbackConstraintMotor
Source§impl Debug for hkpCallbackConstraintMotor
impl Debug for hkpCallbackConstraintMotor
Source§impl Default for hkpCallbackConstraintMotor
impl Default for hkpCallbackConstraintMotor
Source§impl<'de> Deserialize<'de> for hkpCallbackConstraintMotor
impl<'de> Deserialize<'de> for hkpCallbackConstraintMotor
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 hkpCallbackConstraintMotor
impl RefUnwindSafe for hkpCallbackConstraintMotor
impl Send for hkpCallbackConstraintMotor
impl Sync for hkpCallbackConstraintMotor
impl Unpin for hkpCallbackConstraintMotor
impl UnwindSafe for hkpCallbackConstraintMotor
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