pub trait EventTrait {
    // Required method
    fn window_id(&self) -> Option<WindowId>;
}
Expand description

This trait is to be implemented on custom window events

Required Methods§

source

fn window_id(&self) -> Option<WindowId>

Returns a Some when the event is for a particular window, returns None when the event is not for a particular window

Implementors§