#[repr(C)]pub struct ExtraCountVtbl {
pub CxxDrop: fn(this: &mut ExtraCount),
pub GetType: fn(this: &ExtraCount) -> ExtraDataType,
pub IsNotEqual: fn(this: &ExtraCount, rhs: &ExtraCount) -> bool,
}
Expand description
The virtual function table for ExtraCount
.
This struct defines function pointers to simulate the C++ virtual functions.
Fields§
§CxxDrop: fn(this: &mut ExtraCount)
Destructor function pointer.
GetType: fn(this: &ExtraCount) -> ExtraDataType
Function pointer for retrieving the extra data type.
IsNotEqual: fn(this: &ExtraCount, rhs: &ExtraCount) -> bool
Function pointer for equality check.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ExtraCountVtbl
impl RefUnwindSafe for ExtraCountVtbl
impl Send for ExtraCountVtbl
impl Sync for ExtraCountVtbl
impl Unpin for ExtraCountVtbl
impl UnwindSafe for ExtraCountVtbl
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