Struct ux::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>(&self) -> bool where
    T: FromEvent
[src]

Returns true if the event type matches T.

pub fn downcast_ref<T>(&self) -> Option<&T> where
    T: FromEvent
[src]

Tries to downcast to a specific event type.

pub fn downcast_mut<T>(&mut self) -> Option<&mut T> where
    T: FromEvent
[src]

Tries to downcast to a specific event type.

Trait Implementations

impl AsMut<ClutterScrollEvent> for ScrollEvent[src]

impl AsRef<ClutterScrollEvent> for ScrollEvent[src]

impl Clone for ScrollEvent[src]

impl Debug for ScrollEvent[src]

impl Deref for ScrollEvent[src]

type Target = Event

The resulting type after dereferencing.

impl DerefMut for ScrollEvent[src]

impl Eq for ScrollEvent[src]

impl FromEvent for ScrollEvent[src]

impl FromGlibPtrBorrow<*mut ClutterScrollEvent> for ScrollEvent[src]

impl FromGlibPtrFull<*mut ClutterScrollEvent> for ScrollEvent[src]

impl FromGlibPtrNone<*mut ClutterScrollEvent> for ScrollEvent[src]

impl Hash for ScrollEvent[src]

impl Ord for ScrollEvent[src]

impl PartialEq<ScrollEvent> for ScrollEvent[src]

impl PartialOrd<ScrollEvent> for ScrollEvent[src]

impl StructuralEq for ScrollEvent[src]

impl StructuralPartialEq for ScrollEvent[src]

impl<'a> ToGlibPtr<'a, *const ClutterScrollEvent> for ScrollEvent[src]

type Storage = &'a ScrollEvent

impl<'a> ToGlibPtrMut<'a, *mut ClutterScrollEvent> for ScrollEvent[src]

type Storage = &'a mut ScrollEvent

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<Fr, To> IntoColor<To> for Fr where
    To: FromColor<Fr>, 
[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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,