Struct wayland_server::sources::SignalEventSource
[−]
[src]
pub struct SignalEventSource<ID> { /* fields omitted */ }
signal_event_source
A handle to a registered signal event source
Dropping this struct does not remove the event source,
use the remove
method for that.
Trait Implementations
impl<ID> EventSource<ID> for SignalEventSource<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