#[repr(C)]pub union ClutterEvent {
pub type_: ClutterEventType,
pub any: ClutterAnyEvent,
pub button: ClutterButtonEvent,
pub key: ClutterKeyEvent,
pub motion: ClutterMotionEvent,
pub scroll: ClutterScrollEvent,
pub stage_state: ClutterStageStateEvent,
pub crossing: ClutterCrossingEvent,
pub touch: ClutterTouchEvent,
pub touchpad_pinch: ClutterTouchpadPinchEvent,
pub touchpad_swipe: ClutterTouchpadSwipeEvent,
}
Fields§
§type_: ClutterEventType
§any: ClutterAnyEvent
§key: ClutterKeyEvent
§motion: ClutterMotionEvent
§scroll: ClutterScrollEvent
§stage_state: ClutterStageStateEvent
§crossing: ClutterCrossingEvent
§touch: ClutterTouchEvent
§touchpad_pinch: ClutterTouchpadPinchEvent
§touchpad_swipe: ClutterTouchpadSwipeEvent
Trait Implementations§
Source§impl Clone for ClutterEvent
impl Clone for ClutterEvent
Source§fn clone(&self) -> ClutterEvent
fn clone(&self) -> ClutterEvent
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ClutterEvent
impl Debug for ClutterEvent
impl Copy for ClutterEvent
Auto Trait Implementations§
impl Freeze for ClutterEvent
impl RefUnwindSafe for ClutterEvent
impl !Send for ClutterEvent
impl !Sync for ClutterEvent
impl Unpin for ClutterEvent
impl UnwindSafe for ClutterEvent
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more