#[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>,
}Expand description
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: u32Always zero?
offset: u32Offset of this vtable in the complete class.
cd_offset: u32Constructor 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§
Source§impl Clone for RTTICompleteObjectLocator
impl Clone for RTTICompleteObjectLocator
Source§fn clone(&self) -> RTTICompleteObjectLocator
fn clone(&self) -> RTTICompleteObjectLocator
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RTTICompleteObjectLocator
impl Debug for RTTICompleteObjectLocator
impl Copy for RTTICompleteObjectLocator
impl Pod for RTTICompleteObjectLocator
Auto Trait Implementations§
impl Freeze for RTTICompleteObjectLocator
impl RefUnwindSafe for RTTICompleteObjectLocator
impl Send for RTTICompleteObjectLocator
impl Sync for RTTICompleteObjectLocator
impl Unpin for RTTICompleteObjectLocator
impl UnwindSafe for RTTICompleteObjectLocator
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> PodMethods for T
impl<T> PodMethods for T
Source§fn as_bytes_mut(&mut self) -> &mut [u8] ⓘ
fn as_bytes_mut(&mut self) -> &mut [u8] ⓘ
Returns the object’s memory as a mutable byte slice.
Source§fn as_data_view(&self) -> &DataView
fn as_data_view(&self) -> &DataView
Returns a data view into the object’s memory.
Source§fn as_data_view_mut(&mut self) -> &mut DataView
fn as_data_view_mut(&mut self) -> &mut DataView
Returns a mutable data view into the object’s memory.