Struct alacritty::event::EventProxy
source · pub struct EventProxy {
proxy: EventLoopProxy<Event>,
window_id: WindowId,
}
Fields§
§proxy: EventLoopProxy<Event>
§window_id: WindowId
Implementations§
source§impl EventProxy
impl EventProxy
pub fn new(proxy: EventLoopProxy<Event>, window_id: WindowId) -> Self
sourcepub fn send_event(&self, event: EventType)
pub fn send_event(&self, event: EventType)
Send an event to the event loop.
Trait Implementations§
source§impl Clone for EventProxy
impl Clone for EventProxy
source§fn clone(&self) -> EventProxy
fn clone(&self) -> EventProxy
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for EventProxy
impl Debug for EventProxy
source§impl EventListener for EventProxy
impl EventListener for EventProxy
fn send_event(&self, event: TerminalEvent)
Auto Trait Implementations§
impl RefUnwindSafe for EventProxy
impl Send for EventProxy
impl Sync for EventProxy
impl Unpin for EventProxy
impl UnwindSafe for EventProxy
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