Struct x11_dl::xlib::XButtonEvent
source · #[repr(C)]pub struct XButtonEvent {Show 15 fields
pub type_: c_int,
pub serial: c_ulong,
pub send_event: Bool,
pub display: *mut Display,
pub window: Window,
pub root: Window,
pub subwindow: Window,
pub time: Time,
pub x: c_int,
pub y: c_int,
pub x_root: c_int,
pub y_root: c_int,
pub state: c_uint,
pub button: c_uint,
pub same_screen: Bool,
}
Fields§
§type_: c_int
§serial: c_ulong
§send_event: Bool
§display: *mut Display
§window: Window
§root: Window
§subwindow: Window
§time: Time
§x: c_int
§y: c_int
§x_root: c_int
§y_root: c_int
§state: c_uint
§same_screen: Bool
Trait Implementations§
source§impl AsMut<XButtonEvent> for XEvent
impl AsMut<XButtonEvent> for XEvent
source§fn as_mut(&mut self) -> &mut XButtonEvent
fn as_mut(&mut self) -> &mut XButtonEvent
Converts this type into a mutable reference of the (usually inferred) input type.
source§impl AsRef<XButtonEvent> for XEvent
impl AsRef<XButtonEvent> for XEvent
source§fn as_ref(&self) -> &XButtonEvent
fn as_ref(&self) -> &XButtonEvent
Converts this type into a shared reference of the (usually inferred) input type.
source§impl Clone for XButtonEvent
impl Clone for XButtonEvent
source§fn clone(&self) -> XButtonEvent
fn clone(&self) -> XButtonEvent
Returns a copy 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 XButtonEvent
impl Debug for XButtonEvent
source§impl<'a> From<&'a XButtonEvent> for XEvent
impl<'a> From<&'a XButtonEvent> for XEvent
source§fn from(other: &'a XButtonEvent) -> XEvent
fn from(other: &'a XButtonEvent) -> XEvent
Converts to this type from the input type.
source§impl<'a> From<&'a XEvent> for XButtonEvent
impl<'a> From<&'a XEvent> for XButtonEvent
source§fn from(xevent: &'a XEvent) -> XButtonEvent
fn from(xevent: &'a XEvent) -> XButtonEvent
Converts to this type from the input type.
source§impl From<XButtonEvent> for XEvent
impl From<XButtonEvent> for XEvent
source§fn from(other: XButtonEvent) -> XEvent
fn from(other: XButtonEvent) -> XEvent
Converts to this type from the input type.
source§impl From<XEvent> for XButtonEvent
impl From<XEvent> for XButtonEvent
source§fn from(xevent: XEvent) -> XButtonEvent
fn from(xevent: XEvent) -> XButtonEvent
Converts to this type from the input type.
source§impl PartialEq for XButtonEvent
impl PartialEq for XButtonEvent
impl Copy for XButtonEvent
impl StructuralPartialEq for XButtonEvent
Auto Trait Implementations§
impl Freeze for XButtonEvent
impl RefUnwindSafe for XButtonEvent
impl !Send for XButtonEvent
impl !Sync for XButtonEvent
impl Unpin for XButtonEvent
impl UnwindSafe for XButtonEvent
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)