[][src]Struct pelite::pe32::msvc::RTTICompleteObjectLocator

#[repr(C)]
pub struct RTTICompleteObjectLocator {
    pub signature: u32,
    pub offset: u32,
    pub cd_offset: u32,
    pub type_descriptor: Ptr<TypeDescriptor>,
    pub class_descriptor: Ptr<RTTIClassHierarchyDescriptor>,
}

Complete Object Locator.

MSVC compiler puts a pointer to this structure just before the vftable. The structure is called so because it lets you find the location to the complete object from a specific vftable pointer.

Every vftable has its own Complete Object Locator.

Fields

signature: u32

Always zero?

offset: u32

Offset of this vtable in the complete class.

cd_offset: u32

Constructor displacement offset.

type_descriptor: Ptr<TypeDescriptor>

Pointer to the type descriptor of the complete class.

class_descriptor: Ptr<RTTIClassHierarchyDescriptor>

Pointer to the class hierarchy descriptor.

Trait Implementations

impl Pod for RTTICompleteObjectLocator where
    Self: 'static,
    u32: Pod,
    u32: Pod,
    u32: Pod,
    Ptr<TypeDescriptor>: Pod,
    Ptr<RTTIClassHierarchyDescriptor>: Pod
[src]

impl Clone for RTTICompleteObjectLocator[src]

impl Copy for RTTICompleteObjectLocator[src]

impl Debug for RTTICompleteObjectLocator[src]

impl Serialize for RTTICompleteObjectLocator[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]