Struct libpulse_sys::mainloop::api::pa_mainloop_api[][src]

#[repr(C)]
pub struct pa_mainloop_api {
Show 14 fields pub userdata: *mut c_void, pub io_new: Option<extern "C" fn(a: *const pa_mainloop_api, fd: i32, events: pa_io_event_flags_t, cb: pa_io_event_cb_t, userdata: *mut c_void) -> *mut pa_io_event>, pub io_enable: Option<extern "C" fn(e: *mut pa_io_event, events: pa_io_event_flags_t)>, pub io_free: Option<extern "C" fn(e: *mut pa_io_event)>, pub io_set_destroy: Option<extern "C" fn(e: *mut pa_io_event, cb: pa_io_event_destroy_cb_t)>, pub time_new: Option<extern "C" fn(a: *const pa_mainloop_api, tv: *const timeval, cb: pa_time_event_cb_t, userdata: *mut c_void) -> *mut pa_time_event>, pub time_restart: Option<extern "C" fn(e: *mut pa_time_event, tv: *const timeval)>, pub time_free: Option<extern "C" fn(e: *mut pa_time_event)>, pub time_set_destroy: Option<extern "C" fn(e: *mut pa_time_event, cb: pa_time_event_destroy_cb_t)>, pub defer_new: Option<extern "C" fn(a: *const pa_mainloop_api, cb: pa_defer_event_cb_t, userdata: *mut c_void) -> *mut pa_defer_event>, pub defer_enable: Option<extern "C" fn(e: *mut pa_defer_event, b: i32)>, pub defer_free: Option<extern "C" fn(e: *mut pa_defer_event)>, pub defer_set_destroy: Option<extern "C" fn(e: *mut pa_defer_event, cb: pa_defer_event_destroy_cb_t)>, pub quit: Option<extern "C" fn(a: *const pa_mainloop_api, retval: i32)>,
}

Fields

userdata: *mut c_voidio_new: Option<extern "C" fn(a: *const pa_mainloop_api, fd: i32, events: pa_io_event_flags_t, cb: pa_io_event_cb_t, userdata: *mut c_void) -> *mut pa_io_event>io_enable: Option<extern "C" fn(e: *mut pa_io_event, events: pa_io_event_flags_t)>io_free: Option<extern "C" fn(e: *mut pa_io_event)>io_set_destroy: Option<extern "C" fn(e: *mut pa_io_event, cb: pa_io_event_destroy_cb_t)>time_new: Option<extern "C" fn(a: *const pa_mainloop_api, tv: *const timeval, cb: pa_time_event_cb_t, userdata: *mut c_void) -> *mut pa_time_event>time_restart: Option<extern "C" fn(e: *mut pa_time_event, tv: *const timeval)>time_free: Option<extern "C" fn(e: *mut pa_time_event)>time_set_destroy: Option<extern "C" fn(e: *mut pa_time_event, cb: pa_time_event_destroy_cb_t)>defer_new: Option<extern "C" fn(a: *const pa_mainloop_api, cb: pa_defer_event_cb_t, userdata: *mut c_void) -> *mut pa_defer_event>defer_enable: Option<extern "C" fn(e: *mut pa_defer_event, b: i32)>defer_free: Option<extern "C" fn(e: *mut pa_defer_event)>defer_set_destroy: Option<extern "C" fn(e: *mut pa_defer_event, cb: pa_defer_event_destroy_cb_t)>quit: Option<extern "C" fn(a: *const pa_mainloop_api, retval: i32)>

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 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.