Enum sixtyfps_corelib::input::InputEventResult [−][src]
#[repr(C)]
pub enum InputEventResult {
EventAccepted,
EventIgnored,
GrabMouse,
}
Expand description
This value is returned by the input_event
function of an Item
to notify the run-time about how the event was handled and
what the next steps are.
See crate::items::ItemVTable::input_event
.
Variants
The event was accepted. This may result in additional events, for example accepting a mouse move will result in a MouseExit event later.
The event was ignored.
All further mouse event need to be sent to this item or component
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for InputEventResult
impl Send for InputEventResult
impl Sync for InputEventResult
impl Unpin for InputEventResult
impl UnwindSafe for InputEventResult
Blanket Implementations
Mutably borrows from an owned value. Read more