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,
pub fn enable(&mut self, b: bool)
[src]
Enable or disable a deferred event source temporarily.
pub fn set_destroy_cb(&mut 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,