#[repr(C)]pub struct hkReferencedObjectVtbl {
pub CxxDrop: fn(this: &mut hkReferencedObject),
pub GetClassType: fn(this: &hkReferencedObject) -> Option<*const hkClass>,
pub CalcContentStatistics: fn(this: &hkReferencedObject, collector: &mut hkStatisticsCollector, cls: Option<&hkClass>),
}
Expand description
Virtual function table for hkReferencedObject
.
Fields§
§CxxDrop: fn(this: &mut hkReferencedObject)
Destructor function pointer (hkBaseObject’s virtual destructor is default).
GetClassType: fn(this: &hkReferencedObject) -> Option<*const hkClass>
Gets the class type (returns null by default).
CalcContentStatistics: fn(this: &hkReferencedObject, collector: &mut hkStatisticsCollector, cls: Option<&hkClass>)
Calculates content statistics.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for hkReferencedObjectVtbl
impl RefUnwindSafe for hkReferencedObjectVtbl
impl Send for hkReferencedObjectVtbl
impl Sync for hkReferencedObjectVtbl
impl Unpin for hkReferencedObjectVtbl
impl UnwindSafe for hkReferencedObjectVtbl
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