#[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: 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
sourceimpl Clone for RTTICompleteObjectLocator
impl Clone for RTTICompleteObjectLocator
sourcefn clone(&self) -> RTTICompleteObjectLocator
fn clone(&self) -> RTTICompleteObjectLocator
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for RTTICompleteObjectLocator
impl Debug for RTTICompleteObjectLocator
sourceimpl Pod for RTTICompleteObjectLocator
impl Pod for RTTICompleteObjectLocator
sourcefn as_bytes(&self) -> &[u8]ⓘNotable traits for &mut [u8]impl Write for &mut [u8]impl Read for &[u8]
fn as_bytes(&self) -> &[u8]ⓘNotable traits for &mut [u8]impl Write for &mut [u8]impl Read for &[u8]
Returns the object’s memory as a byte slice.
sourcefn as_bytes_mut(&mut self) -> &mut [u8]ⓘNotable traits for &mut [u8]impl Write for &mut [u8]impl Read for &[u8]
fn as_bytes_mut(&mut self) -> &mut [u8]ⓘNotable traits for &mut [u8]impl Write for &mut [u8]impl Read for &[u8]
Returns the object’s memory as a mutable byte slice.
sourcefn as_data_view(&self) -> &DataView
fn as_data_view(&self) -> &DataView
Returns a data view into the object’s memory.
sourcefn 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.
sourcefn transmute_ref<T>(&self) -> &Twhere
T: Pod,
fn transmute_ref<T>(&self) -> &Twhere
T: Pod,
Safely transmutes references to another type. Read more
sourcefn transmute_mut<T>(&mut self) -> &mut Twhere
T: Pod,
fn transmute_mut<T>(&mut self) -> &mut Twhere
T: Pod,
Safely transmutes references to another type. Read more
impl Copy for RTTICompleteObjectLocator
Auto Trait Implementations
impl RefUnwindSafe for RTTICompleteObjectLocator
impl Send for RTTICompleteObjectLocator
impl Sync for RTTICompleteObjectLocator
impl Unpin for RTTICompleteObjectLocator
impl UnwindSafe for RTTICompleteObjectLocator
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more