Enum button_controller::ButtonEvent
source · pub enum ButtonEvent {
MouseEnter,
MouseLeave,
Press,
Click,
Cancel,
}
Expand description
Button event signals.
Variants§
MouseEnter
Mouse entered button.
MouseLeave
Mouse leaved button.
Press
Button was pressed.
Click
The button was clicked.
Cancel
The button press was canceled.
Trait Implementations§
source§impl Clone for ButtonEvent
impl Clone for ButtonEvent
source§fn clone(&self) -> ButtonEvent
fn clone(&self) -> ButtonEvent
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