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