#[repr(C)]pub struct ClutterButtonEvent {
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 button: u32,
pub click_count: c_uint,
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§click_count: c_uint§axes: *mut c_double§device: *mut ClutterInputDeviceTrait Implementations§
Source§impl Clone for ClutterButtonEvent
impl Clone for ClutterButtonEvent
Source§fn clone(&self) -> ClutterButtonEvent
fn clone(&self) -> ClutterButtonEvent
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 ClutterButtonEvent
Auto Trait Implementations§
impl !Send for ClutterButtonEvent
impl !Sync for ClutterButtonEvent
impl Freeze for ClutterButtonEvent
impl RefUnwindSafe for ClutterButtonEvent
impl Unpin for ClutterButtonEvent
impl UnsafeUnpin for ClutterButtonEvent
impl UnwindSafe for ClutterButtonEvent
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