Struct gdk_x11_sys::xlib::XButtonEvent [−]
#[repr(C)]pub struct XButtonEvent {}
Fields
type_: i32
serial: u64
send_event: i32
display: *mut _XDisplay
window: u64
root: u64
subwindow: u64
time: u64
x: i32
y: i32
x_root: i32
y_root: i32
state: u32
same_screen: i32
Trait Implementations
impl AsMut<XButtonEvent> for XEvent
impl AsMut<XButtonEvent> for XEvent
pub fn as_mut(&mut self) -> &mut XButtonEvent
pub fn as_mut(&mut self) -> &mut XButtonEvent
Performs the conversion.
impl AsRef<XButtonEvent> for XEvent
impl AsRef<XButtonEvent> for XEvent
pub fn as_ref(&self) -> &XButtonEvent
pub fn as_ref(&self) -> &XButtonEvent
Performs the conversion.
impl Clone for XButtonEvent
impl Clone for XButtonEvent
pub fn clone(&self) -> XButtonEvent
pub fn clone(&self) -> XButtonEvent
Returns a copy of the value. Read more
Performs copy-assignment from source
. Read more
impl Debug for XButtonEvent
impl Debug for XButtonEvent
impl<'a> From<&'a XButtonEvent> for XEvent
impl<'a> From<&'a XButtonEvent> for XEvent
pub fn from(other: &'a XButtonEvent) -> XEvent
pub fn from(other: &'a XButtonEvent) -> XEvent
Performs the conversion.
impl<'a> From<&'a XEvent> for XButtonEvent
impl<'a> From<&'a XEvent> for XButtonEvent
pub fn from(xevent: &'a XEvent) -> XButtonEvent
pub fn from(xevent: &'a XEvent) -> XButtonEvent
Performs the conversion.
impl From<XButtonEvent> for XEvent
impl From<XButtonEvent> for XEvent
pub fn from(other: XButtonEvent) -> XEvent
pub fn from(other: XButtonEvent) -> XEvent
Performs the conversion.
impl From<XEvent> for XButtonEvent
impl From<XEvent> for XButtonEvent
pub fn from(xevent: XEvent) -> XButtonEvent
pub fn from(xevent: XEvent) -> XButtonEvent
Performs the conversion.
impl PartialEq<XButtonEvent> for XButtonEvent
impl PartialEq<XButtonEvent> for XButtonEvent
pub fn eq(&self, other: &XButtonEvent) -> bool
pub fn eq(&self, other: &XButtonEvent) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
pub fn ne(&self, other: &XButtonEvent) -> bool
pub fn ne(&self, other: &XButtonEvent) -> bool
This method tests for !=
.
impl Copy for XButtonEvent
impl StructuralPartialEq for XButtonEvent
Auto Trait Implementations
impl RefUnwindSafe for XButtonEvent
impl !Send for XButtonEvent
impl !Sync for XButtonEvent
impl Unpin for XButtonEvent
impl UnwindSafe for XButtonEvent
Blanket Implementations
Mutably borrows from an owned value. Read more