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