Struct ICorProfilerCallback2_Vtbl
#[repr(C)]pub struct ICorProfilerCallback2_Vtbl {
pub base__: ICorProfilerCallback_Vtbl,
pub ThreadNameChanged: unsafe extern "system" fn(_: *mut c_void, _: usize, _: u32, _: PCWSTR) -> HRESULT,
pub GarbageCollectionStarted: unsafe extern "system" fn(_: *mut c_void, _: i32, _: *const BOOL, _: COR_PRF_GC_REASON) -> HRESULT,
pub SurvivingReferences: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *const usize, _: *const u32) -> HRESULT,
pub GarbageCollectionFinished: unsafe extern "system" fn(_: *mut c_void) -> HRESULT,
pub FinalizeableObjectQueued: unsafe extern "system" fn(_: *mut c_void, _: u32, _: usize) -> HRESULT,
pub RootReferences2: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *const usize, _: *const COR_PRF_GC_ROOT_KIND, _: *const COR_PRF_GC_ROOT_FLAGS, _: *const usize) -> HRESULT,
pub HandleCreated: unsafe extern "system" fn(_: *mut c_void, _: usize, _: usize) -> HRESULT,
pub HandleDestroyed: unsafe extern "system" fn(_: *mut c_void, _: usize) -> HRESULT,
}
Fields§
§base__: ICorProfilerCallback_Vtbl
§ThreadNameChanged: unsafe extern "system" fn(_: *mut c_void, _: usize, _: u32, _: PCWSTR) -> HRESULT
§GarbageCollectionStarted: unsafe extern "system" fn(_: *mut c_void, _: i32, _: *const BOOL, _: COR_PRF_GC_REASON) -> HRESULT
§SurvivingReferences: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *const usize, _: *const u32) -> HRESULT
§GarbageCollectionFinished: unsafe extern "system" fn(_: *mut c_void) -> HRESULT
§FinalizeableObjectQueued: unsafe extern "system" fn(_: *mut c_void, _: u32, _: usize) -> HRESULT
§RootReferences2: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *const usize, _: *const COR_PRF_GC_ROOT_KIND, _: *const COR_PRF_GC_ROOT_FLAGS, _: *const usize) -> HRESULT
§HandleCreated: unsafe extern "system" fn(_: *mut c_void, _: usize, _: usize) -> HRESULT
§HandleDestroyed: unsafe extern "system" fn(_: *mut c_void, _: usize) -> HRESULT
Implementations§
§impl ICorProfilerCallback2_Vtbl
impl ICorProfilerCallback2_Vtbl
pub const fn new<Identity: ICorProfilerCallback2_Impl, const OFFSET: isize>() -> Self
pub fn matches(iid: &GUID) -> bool
Auto Trait Implementations§
impl Freeze for ICorProfilerCallback2_Vtbl
impl RefUnwindSafe for ICorProfilerCallback2_Vtbl
impl Send for ICorProfilerCallback2_Vtbl
impl Sync for ICorProfilerCallback2_Vtbl
impl Unpin for ICorProfilerCallback2_Vtbl
impl UnwindSafe for ICorProfilerCallback2_Vtbl
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