Struct libpulse_binding::mainloop::events::deferred::DeferEvent
[−]
[src]
pub struct DeferEvent<T> where
T: MainloopInnerType, { /* fields omitted */ }
A deferred event source object. This acts as a safe Rust wrapper for the actual C object.
Methods
impl<T> DeferEvent<T> where
T: MainloopInnerType,
[src]
T: MainloopInnerType,
fn from_raw(ptr: *mut DeferEventInternal, mainloop_inner: Rc<T>) -> Self
[src]
fn enable(&self, b: bool)
[src]
Enable or disable a deferred event source temporarily.
fn set_destroy_cb(&self, cb: DeferEventDestroyCb)
[src]
Set a function that is called when the deferred event source is destroyed. Use this to free the userdata argument if required.
Trait Implementations
impl<T> Drop for DeferEvent<T> where
T: MainloopInnerType,
[src]
T: MainloopInnerType,