pub struct EventsLoop { /* private fields */ }
Implementations§
source§impl EventsLoop
impl EventsLoop
pub fn new(display: Arc<XConnection>) -> EventsLoop
pub fn create_proxy(&self) -> EventsLoopProxy
pub fn poll_events<F>(&mut self, callback: F)where F: FnMut(Event),
pub fn run_forever<F>(&mut self, callback: F)where F: FnMut(Event) -> ControlFlow,
pub fn device_name(&self, device: DeviceId) -> String
Auto Trait Implementations§
impl RefUnwindSafe for EventsLoop
impl Send for EventsLoop
impl Sync for EventsLoop
impl Unpin for EventsLoop
impl UnwindSafe for EventsLoop
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more