pub struct hkVertexFormatElement {
pub __ptr: Option<Pointer>,
pub m_dataType: ComponentType,
pub m_numValues: u8,
pub m_usage: ComponentUsage,
pub m_subUsage: u8,
pub m_flags: HintFlags,
pub m_pad: [u8; 3],
}
Expand description
§C++ Info
- name:
hkVertexFormatElement
- version:
0
- signature:
0x54867cbf
- size:
8
(x86)/8
(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_dataType: ComponentType
§C++ Info
- name:
dataType
(ctype:enum ComponentType
) - offset:
0
(x86)/0
(x86_64) - type_size:
1
(x86)/1
(x86_64)
m_numValues: u8
§C++ Info
- name:
numValues
(ctype:hkUint8
) - offset:
1
(x86)/1
(x86_64) - type_size:
1
(x86)/1
(x86_64)
m_usage: ComponentUsage
§C++ Info
- name:
usage
(ctype:enum ComponentUsage
) - offset:
2
(x86)/2
(x86_64) - type_size:
1
(x86)/1
(x86_64)
m_subUsage: u8
§C++ Info
- name:
subUsage
(ctype:hkUint8
) - offset:
3
(x86)/3
(x86_64) - type_size:
1
(x86)/1
(x86_64)
m_flags: HintFlags
§C++ Info
- name:
flags
(ctype:flags HintFlags
) - offset:
4
(x86)/4
(x86_64) - type_size:
1
(x86)/1
(x86_64)
m_pad: [u8; 3]
§C++ Info
- name:
pad
(ctype:hkUint8[3]
) - offset:
5
(x86)/5
(x86_64) - type_size:
3
(x86)/3
(x86_64)
Trait Implementations§
Source§impl Clone for hkVertexFormatElement
impl Clone for hkVertexFormatElement
Source§impl Debug for hkVertexFormatElement
impl Debug for hkVertexFormatElement
Source§impl Default for hkVertexFormatElement
impl Default for hkVertexFormatElement
Source§impl<'de> Deserialize<'de> for hkVertexFormatElement
impl<'de> Deserialize<'de> for hkVertexFormatElement
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 hkVertexFormatElement
impl HavokClass for hkVertexFormatElement
Source§impl PartialEq for hkVertexFormatElement
impl PartialEq for hkVertexFormatElement
Auto Trait Implementations§
impl Freeze for hkVertexFormatElement
impl RefUnwindSafe for hkVertexFormatElement
impl Send for hkVertexFormatElement
impl Sync for hkVertexFormatElement
impl Unpin for hkVertexFormatElement
impl UnwindSafe for hkVertexFormatElement
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