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 more