[][src]Struct flutterbug::event::motion_event::MotionEvent

pub struct MotionEvent { /* fields omitted */ }

Implementations

impl MotionEvent[src]

pub fn root(&self) -> Window[src]

pub fn subwindow(&self) -> Window[src]

pub fn time(&self) -> Time[src]

pub fn x(&self) -> i32[src]

pub fn y(&self) -> i32[src]

pub fn x_root(&self) -> u32[src]

pub fn y_root(&self) -> u32[src]

pub fn state(&self) -> c_uint[src]

pub fn is_hint(&self) -> c_char[src]

pub fn same_screen(&self) -> Bool[src]

pub fn new(
    kind: EventType,
    serial: c_ulong,
    display: &dyn GenericDisplay,
    sender_window: &Window,
    fse: bool,
    root: Window,
    subwindow: Window,
    time: Time,
    x: i32,
    y: i32,
    x_root: u32,
    y_root: u32,
    state: c_uint,
    is_hint: c_char,
    same_screen: Bool
) -> Result<Self, FlutterbugError>
[src]

Trait Implementations

impl Clone for MotionEvent[src]

impl Debug for MotionEvent[src]

impl DerivesAnEvent for MotionEvent[src]

impl DerivesEvent<XMotionEvent> for MotionEvent[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.