Struct winit::event_loop::EventLoopProxy
source · pub struct EventLoopProxy<T: 'static> { /* private fields */ }
Expand description
Used to send custom events to EventLoop
.
Implementations§
source§impl<T: 'static> EventLoopProxy<T>
impl<T: 'static> EventLoopProxy<T>
sourcepub fn send_event(&self, event: T) -> Result<(), EventLoopClosed<T>>
pub fn send_event(&self, event: T) -> Result<(), EventLoopClosed<T>>
Trait Implementations§
source§impl<T: 'static> Clone for EventLoopProxy<T>
impl<T: 'static> Clone for EventLoopProxy<T>
Auto Trait Implementations§
impl<T> RefUnwindSafe for EventLoopProxy<T>
impl<T> Send for EventLoopProxy<T>where T: Send,
impl<T> Sync for EventLoopProxy<T>where T: Send,
impl<T> Unpin for EventLoopProxy<T>
impl<T> UnwindSafe for EventLoopProxy<T>
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