#[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 ClutterInputDeviceTrait 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 (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 ClutterMotionEvent
Auto Trait Implementations§
impl !Send for ClutterMotionEvent
impl !Sync for ClutterMotionEvent
impl Freeze for ClutterMotionEvent
impl RefUnwindSafe for ClutterMotionEvent
impl Unpin for ClutterMotionEvent
impl UnsafeUnpin 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