Union csfml_window_sys::sfEvent[][src]

#[repr(C)]pub union sfEvent {
    pub type_: sfEventType,
    pub size: sfSizeEvent,
    pub key: sfKeyEvent,
    pub text: sfTextEvent,
    pub mouseMove: sfMouseMoveEvent,
    pub mouseButton: sfMouseButtonEvent,
    pub mouseWheel: sfMouseWheelEvent,
    pub mouseWheelScroll: sfMouseWheelScrollEvent,
    pub joystickMove: sfJoystickMoveEvent,
    pub joystickButton: sfJoystickButtonEvent,
    pub joystickConnect: sfJoystickConnectEvent,
    pub touch: sfTouchEvent,
    pub sensor: sfSensorEvent,
    // some fields omitted
}

Fields

type_: sfEventTypesize: sfSizeEventkey: sfKeyEventtext: sfTextEventmouseMove: sfMouseMoveEventmouseButton: sfMouseButtonEventmouseWheel: sfMouseWheelEventmouseWheelScroll: sfMouseWheelScrollEventjoystickMove: sfJoystickMoveEventjoystickButton: sfJoystickButtonEventjoystickConnect: sfJoystickConnectEventtouch: sfTouchEventsensor: sfSensorEvent

Trait Implementations

impl Clone for sfEvent[src]

impl Copy for sfEvent[src]

Auto Trait Implementations

impl RefUnwindSafe for sfEvent

impl Send for sfEvent

impl Sync for sfEvent

impl Unpin for sfEvent

impl UnwindSafe for sfEvent

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.