Struct unity_native_plugin_sys::IUnityProfilerCallbacksV2[][src]

#[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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.