[][src]Struct tm_rs::ffi::tm_analytics_api

#[repr(C)]pub struct tm_analytics_api {
    pub create: Option<unsafe extern "C" fn(*mut tm_allocator_i, *const i8, *const i8) -> *mut tm_analytics_o>,
    pub destroy: Option<unsafe extern "C" fn(*mut tm_analytics_o)>,
    pub update: Option<unsafe extern "C" fn(*mut tm_analytics_o)>,
    pub pageview: Option<unsafe extern "C" fn(*mut tm_analytics_o, *const i8, *const i8, *const i8)>,
    pub event: Option<unsafe extern "C" fn(*mut tm_analytics_o, *const i8, *const i8, *const i8, f64)>,
    pub exception: Option<unsafe extern "C" fn(*mut tm_analytics_o, *const i8, bool)>,
    pub timing: Option<unsafe extern "C" fn(*mut tm_analytics_o, *const i8, *const i8, f64, *mut i8)>,
    pub screenview: Option<unsafe extern "C" fn(*mut tm_analytics_o, *const i8, *const i8, *const i8, *const i8)>,
    pub vcustom: Option<unsafe extern "C" fn(*mut tm_analytics_o, *mut i8)>,
    pub custom: Option<unsafe extern "C" fn(*mut tm_analytics_o, ...)>,
    pub to_s: Option<unsafe extern "C" fn(f64, *mut i8) -> *const i8>,
}

Fields

create: Option<unsafe extern "C" fn(*mut tm_allocator_i, *const i8, *const i8) -> *mut tm_analytics_o>destroy: Option<unsafe extern "C" fn(*mut tm_analytics_o)>update: Option<unsafe extern "C" fn(*mut tm_analytics_o)>pageview: Option<unsafe extern "C" fn(*mut tm_analytics_o, *const i8, *const i8, *const i8)>event: Option<unsafe extern "C" fn(*mut tm_analytics_o, *const i8, *const i8, *const i8, f64)>exception: Option<unsafe extern "C" fn(*mut tm_analytics_o, *const i8, bool)>timing: Option<unsafe extern "C" fn(*mut tm_analytics_o, *const i8, *const i8, f64, *mut i8)>screenview: Option<unsafe extern "C" fn(*mut tm_analytics_o, *const i8, *const i8, *const i8, *const i8)>vcustom: Option<unsafe extern "C" fn(*mut tm_analytics_o, *mut i8)>custom: Option<unsafe extern "C" fn(*mut tm_analytics_o, ...)>to_s: Option<unsafe extern "C" fn(f64, *mut i8) -> *const i8>

Trait Implementations

impl Clone for tm_analytics_api[src]

impl Copy for tm_analytics_api[src]

Auto Trait Implementations

Blanket Implementations

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

impl<T> Any for T where
    T: Any
[src]

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

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

impl<T> CloneAny for T where
    T: Clone + Any
[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.