Enum sixtyfps_corelib::input::KeyEventResult[][src]

#[repr(C)]
pub enum KeyEventResult {
    EventAccepted,
    EventIgnored,
}

Represents how an item’s key_event handler dealt with a key event. An accepted event results in no further event propagation.

Variants

EventAccepted

The event was handled.

EventIgnored

The event was not handled and should be sent to other items.

Trait Implementations

impl Clone for KeyEventResult[src]

impl Copy for KeyEventResult[src]

impl Debug for KeyEventResult[src]

impl PartialEq<KeyEventResult> for KeyEventResult[src]

impl StructuralPartialEq for KeyEventResult[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.