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