Struct ux::TouchEvent [−][src]
pub struct TouchEvent(_);
Methods from Deref<Target = Event>
pub fn put(&self)
[src]
pub fn get_time(&self) -> u32
[src]
pub fn get_event_sequence(&self) -> Option<EventSequence>
[src]
Returns the associated Window
if applicable.
pub fn set_device(&mut self, device: Option<&InputDevice>)
[src]
pub fn get_device(&self) -> Option<InputDevice>
[src]
pub fn set_source_device(&mut self, device: Option<&InputDevice>)
[src]
pub fn get_source_device(&self) -> Option<InputDevice>
[src]
pub fn is<T>(&self) -> bool where
T: FromEvent,
[src]
T: FromEvent,
Returns true
if the event type matches T
.
pub fn downcast_ref<T>(&self) -> Option<&T> where
T: FromEvent,
[src]
T: FromEvent,
Tries to downcast to a specific event type.
pub fn downcast_mut<T>(&mut self) -> Option<&mut T> where
T: FromEvent,
[src]
T: FromEvent,
Tries to downcast to a specific event type.
Trait Implementations
impl AsMut<ClutterTouchEvent> for TouchEvent
[src]
impl AsMut<ClutterTouchEvent> for TouchEvent
[src]impl AsRef<ClutterTouchEvent> for TouchEvent
[src]
impl AsRef<ClutterTouchEvent> for TouchEvent
[src]impl Clone for TouchEvent
[src]
impl Clone for TouchEvent
[src]pub fn clone(&self) -> TouchEvent
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Deref for TouchEvent
[src]
impl Deref for TouchEvent
[src]impl Eq for TouchEvent
[src]
impl Eq for TouchEvent
[src]impl FromEvent for TouchEvent
[src]
impl FromEvent for TouchEvent
[src]impl FromGlibPtrBorrow<*mut ClutterTouchEvent> for TouchEvent
[src]
impl FromGlibPtrBorrow<*mut ClutterTouchEvent> for TouchEvent
[src]pub unsafe fn from_glib_borrow(
ptr: *mut ClutterTouchEvent
) -> Borrowed<TouchEvent>
[src]
ptr: *mut ClutterTouchEvent
) -> Borrowed<TouchEvent>
impl FromGlibPtrFull<*mut ClutterTouchEvent> for TouchEvent
[src]
impl FromGlibPtrFull<*mut ClutterTouchEvent> for TouchEvent
[src]pub unsafe fn from_glib_full(ptr: *mut ClutterTouchEvent) -> TouchEvent
[src]
impl FromGlibPtrNone<*mut ClutterTouchEvent> for TouchEvent
[src]
impl FromGlibPtrNone<*mut ClutterTouchEvent> for TouchEvent
[src]pub unsafe fn from_glib_none(ptr: *mut ClutterTouchEvent) -> TouchEvent
[src]
impl Hash for TouchEvent
[src]
impl Hash for TouchEvent
[src]impl Ord for TouchEvent
[src]
impl Ord for TouchEvent
[src]impl PartialEq<TouchEvent> for TouchEvent
[src]
impl PartialEq<TouchEvent> for TouchEvent
[src]pub fn eq(&self, other: &TouchEvent) -> bool
[src]
pub fn ne(&self, other: &TouchEvent) -> bool
[src]
impl PartialOrd<TouchEvent> for TouchEvent
[src]
impl PartialOrd<TouchEvent> for TouchEvent
[src]pub fn partial_cmp(&self, other: &TouchEvent) -> Option<Ordering>
[src]
#[must_use]pub fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn lt(&self, other: &Rhs) -> bool#[must_use]pub fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn le(&self, other: &Rhs) -> bool#[must_use]pub fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn gt(&self, other: &Rhs) -> bool#[must_use]pub fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn ge(&self, other: &Rhs) -> boolimpl StructuralEq for TouchEvent
[src]
impl StructuralEq for TouchEvent
[src]impl StructuralPartialEq for TouchEvent
[src]
impl StructuralPartialEq for TouchEvent
[src]impl<'a> ToGlibPtr<'a, *const ClutterTouchEvent> for TouchEvent
[src]
impl<'a> ToGlibPtr<'a, *const ClutterTouchEvent> for TouchEvent
[src]type Storage = &'a TouchEvent
pub fn to_glib_none(&'a self) -> Stash<'a, *const ClutterTouchEvent, TouchEvent>
[src]
pub fn to_glib_container(&'a self) -> Stash<'a, P, Self>
[src]
pub fn to_glib_full(&self) -> P
[src]
impl<'a> ToGlibPtrMut<'a, *mut ClutterTouchEvent> for TouchEvent
[src]
impl<'a> ToGlibPtrMut<'a, *mut ClutterTouchEvent> for TouchEvent
[src]type Storage = &'a mut TouchEvent
pub fn to_glib_none_mut(
&'a mut self
) -> StashMut<'a, *mut ClutterTouchEvent, TouchEvent>
[src]
&'a mut self
) -> StashMut<'a, *mut ClutterTouchEvent, TouchEvent>
Auto Trait Implementations
impl RefUnwindSafe for TouchEvent
impl RefUnwindSafe for TouchEvent
impl !Send for TouchEvent
impl !Send for TouchEvent
impl !Sync for TouchEvent
impl !Sync for TouchEvent
impl Unpin for TouchEvent
impl Unpin for TouchEvent
impl UnwindSafe for TouchEvent
impl UnwindSafe for TouchEvent
Blanket Implementations
impl<Fr, To> IntoColor<To> for Fr where
To: FromColor<Fr>,
[src]
impl<Fr, To> IntoColor<To> for Fr where
To: FromColor<Fr>,
[src]pub fn into_color(self) -> To
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,