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