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