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]

Enable or disable a deferred event source temporarily.

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]

Executes the destructor for this type. Read more

Auto Trait Implementations

impl<T> !Send for DeferEvent<T>

impl<T> !Sync for DeferEvent<T>