[−][src]Struct libpulse_sys::Struct_pa_mainloop_api
Fields
userdata: *mut c_void
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>
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]
pub fn clone(&self) -> Self
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for Struct_pa_mainloop_api
[src]
impl Default for Struct_pa_mainloop_api
[src]
Auto Trait Implementations
impl RefUnwindSafe for Struct_pa_mainloop_api
impl !Send for Struct_pa_mainloop_api
impl !Sync for Struct_pa_mainloop_api
impl Unpin for Struct_pa_mainloop_api
impl UnwindSafe for Struct_pa_mainloop_api
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,