Struct clutter::CrossingEvent[][src]

pub struct CrossingEvent(_);

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<ClutterCrossingEvent> for CrossingEvent[src]

impl AsRef<ClutterCrossingEvent> for CrossingEvent[src]

impl Clone for CrossingEvent[src]

impl Debug for CrossingEvent[src]

impl Deref for CrossingEvent[src]

type Target = Event

The resulting type after dereferencing.

impl DerefMut for CrossingEvent[src]

impl Eq for CrossingEvent[src]

impl FromEvent for CrossingEvent[src]

impl FromGlibPtrBorrow<*mut ClutterCrossingEvent> for CrossingEvent[src]

impl FromGlibPtrFull<*mut ClutterCrossingEvent> for CrossingEvent[src]

impl FromGlibPtrNone<*mut ClutterCrossingEvent> for CrossingEvent[src]

impl Hash for CrossingEvent[src]

impl Ord for CrossingEvent[src]

impl PartialEq<CrossingEvent> for CrossingEvent[src]

impl PartialOrd<CrossingEvent> for CrossingEvent[src]

impl StructuralEq for CrossingEvent[src]

impl StructuralPartialEq for CrossingEvent[src]

impl<'a> ToGlibPtr<'a, *const ClutterCrossingEvent> for CrossingEvent[src]

type Storage = &'a Self

impl<'a> ToGlibPtrMut<'a, *mut ClutterCrossingEvent> for CrossingEvent[src]

type Storage = &'a mut Self

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<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.