[−][src]Struct flutterbug::event::motion_event::MotionEvent
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]
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>
Trait Implementations
impl Clone for MotionEvent
[src]
fn clone(&self) -> MotionEvent
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for MotionEvent
[src]
impl DerivesAnEvent for MotionEvent
[src]
fn kind(&self) -> EventType
[src]
fn serial(&self) -> c_ulong
[src]
unsafe fn display(&self) -> NonNull<Display>
[src]
fn window(&self) -> Window
[src]
fn from_send_event(&self) -> bool
[src]
fn as_anyevent(&self) -> AnyEvent
[src]
impl DerivesEvent<XMotionEvent> for MotionEvent
[src]
fn from_evstruct(ev: XMotionEvent) -> Result<Self, FlutterbugError>
[src]
fn inner(&self) -> Result<XMotionEvent, FlutterbugError>
[src]
Auto Trait Implementations
impl RefUnwindSafe for MotionEvent
impl !Send for MotionEvent
impl !Sync for MotionEvent
impl Unpin for MotionEvent
impl UnwindSafe for MotionEvent
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,