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