Struct winit::platform_impl::platform::x11::EventLoopProxy
source · pub struct EventLoopProxy<T: 'static> {
user_sender: Sender<T>,
waker: Arc<Waker>,
}
Fields§
§user_sender: Sender<T>
§waker: Arc<Waker>
Implementations§
source§impl<T: 'static> EventLoopProxy<T>
impl<T: 'static> EventLoopProxy<T>
pub fn send_event(&self, event: T) -> Result<(), EventLoopClosed<T>>
Trait Implementations§
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