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