pub struct hkContactPointMaterial {
pub __ptr: Option<Pointer>,
pub m_userData: Ulong,
pub m_friction: u8,
pub m_restitution: u8,
pub m_maxImpulse: u8,
pub m_flags: u8,
}
Expand description
§C++ Info
- name:
hkContactPointMaterial
- version:
0
- signature:
0x4e32287c
- size:
8
(x86)/16
(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_userData: Ulong
§C++ Info
- name:
userData
(ctype:hkUlong
) - offset:
0
(x86)/0
(x86_64) - type_size:
4
(x86)/8
(x86_64)
m_friction: u8
§C++ Info
- name:
friction
(ctype:hkUint8
) - offset:
4
(x86)/8
(x86_64) - type_size:
1
(x86)/1
(x86_64)
m_restitution: u8
§C++ Info
- name:
restitution
(ctype:hkUint8
) - offset:
5
(x86)/9
(x86_64) - type_size:
1
(x86)/1
(x86_64)
m_maxImpulse: u8
§C++ Info
- name:
maxImpulse
(ctype:hkUint8
) - offset:
6
(x86)/10
(x86_64) - type_size:
1
(x86)/1
(x86_64)
m_flags: u8
§C++ Info
- name:
flags
(ctype:hkUint8
) - offset:
7
(x86)/11
(x86_64) - type_size:
1
(x86)/1
(x86_64)
Trait Implementations§
Source§impl Clone for hkContactPointMaterial
impl Clone for hkContactPointMaterial
Source§impl Debug for hkContactPointMaterial
impl Debug for hkContactPointMaterial
Source§impl Default for hkContactPointMaterial
impl Default for hkContactPointMaterial
Source§impl<'de> Deserialize<'de> for hkContactPointMaterial
impl<'de> Deserialize<'de> for hkContactPointMaterial
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 HavokClass for hkContactPointMaterial
impl HavokClass for hkContactPointMaterial
Source§impl PartialEq for hkContactPointMaterial
impl PartialEq for hkContactPointMaterial
Auto Trait Implementations§
impl Freeze for hkContactPointMaterial
impl RefUnwindSafe for hkContactPointMaterial
impl Send for hkContactPointMaterial
impl Sync for hkContactPointMaterial
impl Unpin for hkContactPointMaterial
impl UnwindSafe for hkContactPointMaterial
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