[][src]Struct libpulse_sys::Struct_pa_mainloop_api

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

Fields

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

Trait Implementations

impl Clone for Struct_pa_mainloop_api[src]

impl Copy for Struct_pa_mainloop_api[src]

impl Default for Struct_pa_mainloop_api[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.