pub struct Variant {
pub object: Pointer,
pub class: Pointer,
}Expand description
C++ info
- type size:
8(x86)/16(x86_64)
Only used for value of hkCustomAttributesAttribute.
Fields§
§object: Pointer§C++ Info
- name:
object(ctype:void*) - offset:
0(x86)/0(x86_64) - type_size:
4(x86)/8(x86_64)
class: Pointer§C++ Info
- name:
class(ctype:hkClass*) - offset:
4(x86)/8(x86_64) - type_size:
4(x86)/8(x86_64)
hkClass* is a class that holds meta-information (Flags, vtable, etc.) for each C++ Havok class and is stored in its own static field.
Implementations§
Trait Implementations§
Source§impl Ord for Variant
impl Ord for Variant
Source§impl PartialOrd for Variant
impl PartialOrd for Variant
impl Eq for Variant
impl StructuralPartialEq for Variant
Auto Trait Implementations§
impl Freeze for Variant
impl RefUnwindSafe for Variant
impl Send for Variant
impl Sync for Variant
impl Unpin for Variant
impl UnwindSafe for Variant
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