Struct wayland_server::sources::IdleSource
[−]
[src]
pub struct IdleSource { /* fields omitted */ }Idle event source
A handle to an idle event source, see LoopToken::add_idle_event_source().
Dropping this struct does not remove the event source,
use the remove method for that.
Methods
impl IdleSource[src]
ⓘImportant traits for Box<W>pub fn remove(self) -> Box<Implementation<(), ()>>[src]
ⓘImportant traits for Box<W>
Remove this event source from its event loop
You retrieve the associated implementation. The event source is removed and if it hadn't been fired yet, it is cancelled.