Struct animate::MotionEvent [−][src]
pub struct MotionEvent(_);
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: FromEvent>(&self) -> bool
[src]
Returns true
if the event type matches T
.
pub fn downcast_ref<T: FromEvent>(&self) -> Option<&T>
[src]
Tries to downcast to a specific event type.
pub fn downcast_mut<T: FromEvent>(&mut self) -> Option<&mut T>
[src]
Tries to downcast to a specific event type.
Trait Implementations
impl AsMut<ClutterMotionEvent> for MotionEvent
[src]
impl AsMut<ClutterMotionEvent> for MotionEvent
[src]fn as_mut(&mut self) -> &mut ClutterMotionEvent
[src]
impl AsRef<ClutterMotionEvent> for MotionEvent
[src]
impl AsRef<ClutterMotionEvent> for MotionEvent
[src]fn as_ref(&self) -> &ClutterMotionEvent
[src]
impl Clone for MotionEvent
[src]
impl Clone for MotionEvent
[src]fn clone(&self) -> MotionEvent
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Deref for MotionEvent
[src]
impl Deref for MotionEvent
[src]impl Eq for MotionEvent
[src]
impl Eq for MotionEvent
[src]impl FromEvent for MotionEvent
[src]
impl FromEvent for MotionEvent
[src]impl FromGlibPtrBorrow<*mut ClutterMotionEvent> for MotionEvent
[src]
impl FromGlibPtrBorrow<*mut ClutterMotionEvent> for MotionEvent
[src]unsafe fn from_glib_borrow(ptr: *mut ClutterMotionEvent) -> Borrowed<Self>
[src]
impl FromGlibPtrFull<*mut ClutterMotionEvent> for MotionEvent
[src]
impl FromGlibPtrFull<*mut ClutterMotionEvent> for MotionEvent
[src]unsafe fn from_glib_full(ptr: *mut ClutterMotionEvent) -> Self
[src]
impl FromGlibPtrNone<*mut ClutterMotionEvent> for MotionEvent
[src]
impl FromGlibPtrNone<*mut ClutterMotionEvent> for MotionEvent
[src]unsafe fn from_glib_none(ptr: *mut ClutterMotionEvent) -> Self
[src]
impl Hash for MotionEvent
[src]
impl Hash for MotionEvent
[src]impl Ord for MotionEvent
[src]
impl Ord for MotionEvent
[src]impl PartialEq<MotionEvent> for MotionEvent
[src]
impl PartialEq<MotionEvent> for MotionEvent
[src]fn eq(&self, other: &MotionEvent) -> bool
[src]
fn ne(&self, other: &MotionEvent) -> bool
[src]
impl PartialOrd<MotionEvent> for MotionEvent
[src]
impl PartialOrd<MotionEvent> for MotionEvent
[src]impl StructuralEq for MotionEvent
[src]
impl StructuralEq for MotionEvent
[src]impl StructuralPartialEq for MotionEvent
[src]
impl StructuralPartialEq for MotionEvent
[src]impl<'a> ToGlibPtr<'a, *const ClutterMotionEvent> for MotionEvent
[src]
impl<'a> ToGlibPtr<'a, *const ClutterMotionEvent> for MotionEvent
[src]type Storage = &'a Self
fn to_glib_none(&'a self) -> Stash<'a, *const ClutterMotionEvent, Self>
[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 ClutterMotionEvent> for MotionEvent
[src]
impl<'a> ToGlibPtrMut<'a, *mut ClutterMotionEvent> for MotionEvent
[src]type Storage = &'a mut Self
fn to_glib_none_mut(&'a mut self) -> StashMut<'a, *mut ClutterMotionEvent, Self>
[src]
Auto Trait Implementations
impl RefUnwindSafe for MotionEvent
impl RefUnwindSafe for MotionEvent
impl !Send for MotionEvent
impl !Send for MotionEvent
impl !Sync for MotionEvent
impl !Sync for MotionEvent
impl Unpin for MotionEvent
impl Unpin for MotionEvent
impl UnwindSafe for MotionEvent
impl UnwindSafe for MotionEvent
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>,