#[repr(C)]pub struct IUnityProfilerCallbacksV2 {
pub RegisterCreateCategoryCallback: Option<unsafe extern "system" fn(callback: IUnityProfilerCreateCategoryCallback, userData: *mut c_void) -> c_int>,
pub UnregisterCreateCategoryCallback: Option<unsafe extern "system" fn(callback: IUnityProfilerCreateCategoryCallback, userData: *mut c_void) -> c_int>,
pub RegisterCreateMarkerCallback: Option<unsafe extern "system" fn(callback: IUnityProfilerCreateMarkerCallback, userData: *mut c_void) -> c_int>,
pub UnregisterCreateMarkerCallback: Option<unsafe extern "system" fn(callback: IUnityProfilerCreateMarkerCallback, userData: *mut c_void) -> c_int>,
pub RegisterMarkerEventCallback: Option<unsafe extern "system" fn(markerDesc: *const UnityProfilerMarkerDesc, callback: IUnityProfilerMarkerEventCallback, userData: *mut c_void) -> c_int>,
pub UnregisterMarkerEventCallback: Option<unsafe extern "system" fn(markerDesc: *const UnityProfilerMarkerDesc, callback: IUnityProfilerMarkerEventCallback, userData: *mut c_void) -> c_int>,
pub RegisterFrameCallback: Option<unsafe extern "system" fn(callback: IUnityProfilerFrameCallback, userData: *mut c_void) -> c_int>,
pub UnregisterFrameCallback: Option<unsafe extern "system" fn(callback: IUnityProfilerFrameCallback, userData: *mut c_void) -> c_int>,
pub RegisterCreateThreadCallback: Option<unsafe extern "system" fn(callback: IUnityProfilerThreadCallback, userData: *mut c_void) -> c_int>,
pub UnregisterCreateThreadCallback: Option<unsafe extern "system" fn(callback: IUnityProfilerThreadCallback, userData: *mut c_void) -> c_int>,
pub RegisterFlowEventCallback: Option<unsafe extern "system" fn(callback: IUnityProfilerFlowEventCallback, userData: *mut c_void) -> c_int>,
pub UnregisterFlowEventCallback: Option<unsafe extern "system" fn(callback: IUnityProfilerFlowEventCallback, userData: *mut c_void) -> c_int>,
}
Fields§
§RegisterCreateCategoryCallback: Option<unsafe extern "system" fn(callback: IUnityProfilerCreateCategoryCallback, userData: *mut c_void) -> c_int>
§UnregisterCreateCategoryCallback: Option<unsafe extern "system" fn(callback: IUnityProfilerCreateCategoryCallback, userData: *mut c_void) -> c_int>
§RegisterCreateMarkerCallback: Option<unsafe extern "system" fn(callback: IUnityProfilerCreateMarkerCallback, userData: *mut c_void) -> c_int>
§UnregisterCreateMarkerCallback: Option<unsafe extern "system" fn(callback: IUnityProfilerCreateMarkerCallback, userData: *mut c_void) -> c_int>
§RegisterMarkerEventCallback: Option<unsafe extern "system" fn(markerDesc: *const UnityProfilerMarkerDesc, callback: IUnityProfilerMarkerEventCallback, userData: *mut c_void) -> c_int>
§UnregisterMarkerEventCallback: Option<unsafe extern "system" fn(markerDesc: *const UnityProfilerMarkerDesc, callback: IUnityProfilerMarkerEventCallback, userData: *mut c_void) -> c_int>
§RegisterFrameCallback: Option<unsafe extern "system" fn(callback: IUnityProfilerFrameCallback, userData: *mut c_void) -> c_int>
§UnregisterFrameCallback: Option<unsafe extern "system" fn(callback: IUnityProfilerFrameCallback, userData: *mut c_void) -> c_int>
§RegisterCreateThreadCallback: Option<unsafe extern "system" fn(callback: IUnityProfilerThreadCallback, userData: *mut c_void) -> c_int>
§UnregisterCreateThreadCallback: Option<unsafe extern "system" fn(callback: IUnityProfilerThreadCallback, userData: *mut c_void) -> c_int>
§RegisterFlowEventCallback: Option<unsafe extern "system" fn(callback: IUnityProfilerFlowEventCallback, userData: *mut c_void) -> c_int>
§UnregisterFlowEventCallback: Option<unsafe extern "system" fn(callback: IUnityProfilerFlowEventCallback, userData: *mut c_void) -> c_int>
Trait Implementations§
source§impl Clone for IUnityProfilerCallbacksV2
impl Clone for IUnityProfilerCallbacksV2
source§fn clone(&self) -> IUnityProfilerCallbacksV2
fn clone(&self) -> IUnityProfilerCallbacksV2
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for IUnityProfilerCallbacksV2
impl Default for IUnityProfilerCallbacksV2
source§fn default() -> IUnityProfilerCallbacksV2
fn default() -> IUnityProfilerCallbacksV2
Returns the “default value” for a type. Read more
impl Copy for IUnityProfilerCallbacksV2
Auto Trait Implementations§
impl Freeze for IUnityProfilerCallbacksV2
impl RefUnwindSafe for IUnityProfilerCallbacksV2
impl Send for IUnityProfilerCallbacksV2
impl Sync for IUnityProfilerCallbacksV2
impl Unpin for IUnityProfilerCallbacksV2
impl UnwindSafe for IUnityProfilerCallbacksV2
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
source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)