Enum leechbar::Event
[−]
[src]
pub enum Event { ClickEvent(ClickEvent), MotionEvent(MotionEvent), }
Event that indicates interaction with the component.
Variants
ClickEvent(ClickEvent)
User clicked on the component.
MotionEvent(MotionEvent)
User moved the mouse inside of the component.
Trait Implementations
impl<'a> From<&'a ButtonPressEvent> for Event
[src]
fn from(event: &'a ButtonPressEvent) -> Event
[src]
Performs the conversion.
impl<'a> From<&'a MotionNotifyEvent> for Event
[src]
fn from(event: &'a MotionNotifyEvent) -> Event
[src]
Performs the conversion.