Enum winit::platform_impl::platform::EventLoopProxy
source · pub enum EventLoopProxy<T: 'static> {
X(EventLoopProxy<T>),
Wayland(EventLoopProxy<T>),
}
Variants§
X(EventLoopProxy<T>)
Wayland(EventLoopProxy<T>)
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