pub struct hkpConstraintInstance<'a> {Show 14 fields
pub __ptr: Option<Pointer>,
pub parent: hkReferencedObject,
pub m_owner: Pointer,
pub m_data: Pointer,
pub m_constraintModifiers: Pointer,
pub m_entities: [Pointer; 2],
pub m_priority: ConstraintPriority,
pub m_wantRuntime: bool,
pub m_destructionRemapInfo: OnDestructionRemapInfo,
pub m_listeners: hkpConstraintInstanceSmallArraySerializeOverrideType,
pub m_name: StringPtr<'a>,
pub m_userData: Ulong,
pub m_internal: Pointer,
pub m_uid: u32,
}Expand description
§C++ Info
- name:
hkpConstraintInstance - version:
1 - signature:
0x34eba5f - size:
56(x86)/112(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: hkReferencedObjectAlternative to C++ class inheritance.
m_owner: Pointer§C++ Info
- name:
owner(ctype:void*) - offset:
8(x86)/16(x86_64) - type_size:
4(x86)/8(x86_64) - flags:
SERIALIZE_IGNORED
m_data: Pointer§C++ Info
- name:
data(ctype:struct hkpConstraintData*) - offset:
12(x86)/24(x86_64) - type_size:
4(x86)/8(x86_64)
m_constraintModifiers: Pointer§C++ Info
- name:
constraintModifiers(ctype:struct hkpModifierConstraintAtom*) - offset:
16(x86)/32(x86_64) - type_size:
4(x86)/8(x86_64)
m_entities: [Pointer; 2]§C++ Info
- name:
entities(ctype:struct hkpEntity*) - offset:
20(x86)/40(x86_64) - type_size:
8(x86)/16(x86_64)
m_priority: ConstraintPriority§C++ Info
- name:
priority(ctype:enum ConstraintPriority) - offset:
28(x86)/56(x86_64) - type_size:
1(x86)/1(x86_64)
m_wantRuntime: bool§C++ Info
- name:
wantRuntime(ctype:hkBool) - offset:
29(x86)/57(x86_64) - type_size:
1(x86)/1(x86_64)
m_destructionRemapInfo: OnDestructionRemapInfo§C++ Info
- name:
destructionRemapInfo(ctype:enum OnDestructionRemapInfo) - offset:
30(x86)/58(x86_64) - type_size:
1(x86)/1(x86_64)
m_listeners: hkpConstraintInstanceSmallArraySerializeOverrideType§C++ Info
- name:
listeners(ctype:struct hkpConstraintInstanceSmallArraySerializeOverrideType) - offset:
32(x86)/64(x86_64) - type_size:
8(x86)/16(x86_64) - flags:
SERIALIZE_IGNORED
m_name: StringPtr<'a>§C++ Info
- name:
name(ctype:hkStringPtr) - offset:
40(x86)/80(x86_64) - type_size:
4(x86)/8(x86_64)
m_userData: Ulong§C++ Info
- name:
userData(ctype:hkUlong) - offset:
44(x86)/88(x86_64) - type_size:
4(x86)/8(x86_64)
m_internal: Pointer§C++ Info
- name:
internal(ctype:void*) - offset:
48(x86)/96(x86_64) - type_size:
4(x86)/8(x86_64) - flags:
SERIALIZE_IGNORED
m_uid: u32§C++ Info
- name:
uid(ctype:hkUint32) - offset:
52(x86)/104(x86_64) - type_size:
4(x86)/4(x86_64) - flags:
SERIALIZE_IGNORED
Trait Implementations§
Source§impl<'a> Clone for hkpConstraintInstance<'a>
impl<'a> Clone for hkpConstraintInstance<'a>
Source§impl<'a> Debug for hkpConstraintInstance<'a>
impl<'a> Debug for hkpConstraintInstance<'a>
Source§impl<'a> Default for hkpConstraintInstance<'a>
impl<'a> Default for hkpConstraintInstance<'a>
Source§impl<'de> Deserialize<'de> for hkpConstraintInstance<'de>
impl<'de> Deserialize<'de> for hkpConstraintInstance<'de>
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
Source§impl<'a> HavokClass for hkpConstraintInstance<'a>
impl<'a> HavokClass for hkpConstraintInstance<'a>
Source§impl<'a> PartialEq for hkpConstraintInstance<'a>where
Option<Pointer>: PartialEq,
hkReferencedObject: PartialEq,
Pointer: PartialEq,
[Pointer; 2]: PartialEq,
ConstraintPriority: PartialEq,
bool: PartialEq,
OnDestructionRemapInfo: PartialEq,
hkpConstraintInstanceSmallArraySerializeOverrideType: PartialEq,
StringPtr<'a>: PartialEq,
Ulong: PartialEq,
u32: PartialEq,
impl<'a> PartialEq for hkpConstraintInstance<'a>where
Option<Pointer>: PartialEq,
hkReferencedObject: PartialEq,
Pointer: PartialEq,
[Pointer; 2]: PartialEq,
ConstraintPriority: PartialEq,
bool: PartialEq,
OnDestructionRemapInfo: PartialEq,
hkpConstraintInstanceSmallArraySerializeOverrideType: PartialEq,
StringPtr<'a>: PartialEq,
Ulong: PartialEq,
u32: PartialEq,
Auto Trait Implementations§
impl<'a> Freeze for hkpConstraintInstance<'a>
impl<'a> RefUnwindSafe for hkpConstraintInstance<'a>
impl<'a> Send for hkpConstraintInstance<'a>
impl<'a> Sync for hkpConstraintInstance<'a>
impl<'a> Unpin for hkpConstraintInstance<'a>
impl<'a> UnwindSafe for hkpConstraintInstance<'a>
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