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]
impl<T> DeferEvent<T> where
T: MainloopInnerType,
pub fn enable(&mut self, b: bool)
[src]
pub fn enable(&mut self, b: bool)
Enable or disable a deferred event source temporarily.
pub fn set_destroy_cb(&mut self, cb: DeferEventDestroyCb)
[src]
pub fn set_destroy_cb(&mut self, cb: DeferEventDestroyCb)
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]
impl<T> Drop for DeferEvent<T> where
T: MainloopInnerType,
Auto Trait Implementations
impl<T> !Send for DeferEvent<T>
impl<T> !Send for DeferEvent<T>
impl<T> !Sync for DeferEvent<T>
impl<T> !Sync for DeferEvent<T>