#[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: ClutterTouchpadSwipeEventTrait 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 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ClutterEvent
Auto Trait Implementations§
impl !Send for ClutterEvent
impl !Sync for ClutterEvent
impl Freeze for ClutterEvent
impl RefUnwindSafe for ClutterEvent
impl Unpin for ClutterEvent
impl UnsafeUnpin 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