[][src]Struct unity_native_plugin_sys::IUnityProfiler

#[repr(C)]pub struct IUnityProfiler {
    pub EmitEvent: Option<unsafe extern "system" fn(markerDesc: *const UnityProfilerMarkerDesc, eventType: UnityProfilerMarkerEventType, eventDataCount: u16, eventData: *const UnityProfilerMarkerData)>,
    pub IsEnabled: Option<unsafe extern "system" fn() -> c_int>,
    pub IsAvailable: Option<unsafe extern "system" fn() -> c_int>,
    pub CreateMarker: Option<unsafe extern "system" fn(desc: *mut *const UnityProfilerMarkerDesc, name: *const c_char, category: UnityProfilerCategoryId, flags: UnityProfilerMarkerFlags, eventDataCount: c_int) -> c_int>,
    pub SetMarkerMetadataName: Option<unsafe extern "system" fn(desc: *const UnityProfilerMarkerDesc, index: c_int, metadataName: *const c_char, metadataType: UnityProfilerMarkerDataType, metadataUnit: UnityProfilerMarkerDataUnit) -> c_int>,
    pub RegisterThread: Option<unsafe extern "system" fn(threadId: *mut UnityProfilerThreadId, groupName: *const c_char, name: *const c_char) -> c_int>,
    pub UnregisterThread: Option<unsafe extern "system" fn(threadId: UnityProfilerThreadId) -> c_int>,
}

Fields

EmitEvent: Option<unsafe extern "system" fn(markerDesc: *const UnityProfilerMarkerDesc, eventType: UnityProfilerMarkerEventType, eventDataCount: u16, eventData: *const UnityProfilerMarkerData)>IsEnabled: Option<unsafe extern "system" fn() -> c_int>IsAvailable: Option<unsafe extern "system" fn() -> c_int>CreateMarker: Option<unsafe extern "system" fn(desc: *mut *const UnityProfilerMarkerDesc, name: *const c_char, category: UnityProfilerCategoryId, flags: UnityProfilerMarkerFlags, eventDataCount: c_int) -> c_int>SetMarkerMetadataName: Option<unsafe extern "system" fn(desc: *const UnityProfilerMarkerDesc, index: c_int, metadataName: *const c_char, metadataType: UnityProfilerMarkerDataType, metadataUnit: UnityProfilerMarkerDataUnit) -> c_int>RegisterThread: Option<unsafe extern "system" fn(threadId: *mut UnityProfilerThreadId, groupName: *const c_char, name: *const c_char) -> c_int>UnregisterThread: Option<unsafe extern "system" fn(threadId: UnityProfilerThreadId) -> c_int>

Trait Implementations

impl Clone for IUnityProfiler[src]

impl Copy for IUnityProfiler[src]

impl Default for IUnityProfiler[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.