[][src]Enum sixtyfps_corelib::input::InputEventResult

#[repr(C)]pub enum InputEventResult {
    EventAccepted,
    EventIgnored,
    GrabMouse,
    ObserveHover,
}

This value is returned by the input handler of a component to notify the run-time about how the event was handled and what the next steps are.

Variants

EventAccepted

The event was accepted. This may result in additional events, for example accepting a mouse move will result in a MouseExit event later.

EventIgnored

The event was ignored.

GrabMouse

All further mouse event need to be sent to this item or component

ObserveHover

One must send an MouseExit when the mouse leave this item

Trait Implementations

impl Clone for InputEventResult[src]

impl Copy for InputEventResult[src]

impl Debug for InputEventResult[src]

impl Default for InputEventResult[src]

impl Eq for InputEventResult[src]

impl PartialEq<InputEventResult> for InputEventResult[src]

impl StructuralEq for InputEventResult[src]

impl StructuralPartialEq for InputEventResult[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.