#[repr(C)]pub struct ClutterMotionEvent {
pub type_: ClutterEventType,
pub time: u32,
pub flags: ClutterEventFlags,
pub stage: *mut ClutterStage,
pub source: *mut ClutterActor,
pub x: c_float,
pub y: c_float,
pub modifier_state: ClutterModifierType,
pub axes: *mut c_double,
pub device: *mut ClutterInputDevice,
}
Fields§
§type_: ClutterEventType
§time: u32
§flags: ClutterEventFlags
§stage: *mut ClutterStage
§source: *mut ClutterActor
§x: c_float
§y: c_float
§modifier_state: ClutterModifierType
§axes: *mut c_double
§device: *mut ClutterInputDevice
Trait Implementations§
Source§impl Clone for ClutterMotionEvent
impl Clone for ClutterMotionEvent
Source§fn clone(&self) -> ClutterMotionEvent
fn clone(&self) -> ClutterMotionEvent
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 ClutterMotionEvent
impl Debug for ClutterMotionEvent
impl Copy for ClutterMotionEvent
Auto Trait Implementations§
impl Freeze for ClutterMotionEvent
impl RefUnwindSafe for ClutterMotionEvent
impl !Send for ClutterMotionEvent
impl !Sync for ClutterMotionEvent
impl Unpin for ClutterMotionEvent
impl UnwindSafe for ClutterMotionEvent
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