#[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 duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const 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