[][src]Enum native_windows_gui::EventArgs

pub enum EventArgs {
    Key(u32),
    Char(char),
    MouseClick {
        btn: MouseButton,
        pos: (i32, i32),
    },
    Focus(bool),
    Tick(Duration),
    Position(i32i32),
    Size(u32u32),
    Raw(u32usizeusize),
    None,
}

Events arguments definition. If an event do not have arguments, EventArgs::None is passed.

Variants

Key(u32)Char(char)MouseClick

Fields of MouseClick

btn: MouseButtonpos: (i32, i32)
Focus(bool)Tick(Duration)Position(i32i32)Size(u32u32)Raw(u32usizeusize)None

Auto Trait Implementations

impl Send for EventArgs

impl Sync for EventArgs

Blanket Implementations

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

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

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.

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

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

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