Struct wayland_server::sources::IdleEventSource
[−]
[src]
pub struct IdleEventSource<ID> { /* fields omitted */ }Idle event source
A handle to an idle event source
Dropping this struct does not remove the event source,
use the remove method for that.
Trait Implementations
impl<ID> EventSource<ID> for IdleEventSource<ID>[src]
fn with_idata<F, R>(&mut self, evlh: &mut EventLoopHandle, f: F) -> R where
F: FnOnce(&mut ID, &mut EventLoopHandle) -> R, [src]
F: FnOnce(&mut ID, &mut EventLoopHandle) -> R,
Access with the implementation data without removing it from the EventLoop
fn remove(self) -> ID[src]
Remove this event source from its event loop Read more