Struct components::winit::platform::unix::x11::ffi::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
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.
impl AsRef<XButtonEvent> for XEvent
impl AsRef<XButtonEvent> for XEvent
fn as_ref(&self) -> &XButtonEvent
fn as_ref(&self) -> &XButtonEvent
Converts this type into a shared reference of the (usually inferred) input type.
impl Clone for XButtonEvent
impl Clone for XButtonEvent
fn clone(&self) -> XButtonEvent
fn clone(&self) -> XButtonEvent
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
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
fn from(other: &'a XButtonEvent) -> XEvent
fn from(other: &'a XButtonEvent) -> XEvent
Converts to this type from the input type.
impl<'a> From<&'a XEvent> for XButtonEvent
impl<'a> From<&'a XEvent> for XButtonEvent
fn from(xevent: &'a XEvent) -> XButtonEvent
fn from(xevent: &'a XEvent) -> XButtonEvent
Converts to this type from the input type.
impl From<XButtonEvent> for XEvent
impl From<XButtonEvent> for XEvent
fn from(other: XButtonEvent) -> XEvent
fn from(other: XButtonEvent) -> XEvent
Converts to this type from the input type.
impl From<XEvent> for XButtonEvent
impl From<XEvent> for XButtonEvent
fn from(xevent: XEvent) -> XButtonEvent
fn from(xevent: XEvent) -> XButtonEvent
Converts to this type from the input type.
impl PartialEq<XButtonEvent> for XButtonEvent
impl PartialEq<XButtonEvent> for XButtonEvent
fn eq(&self, other: &XButtonEvent) -> bool
fn eq(&self, other: &XButtonEvent) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
fn ne(&self, other: &XButtonEvent) -> bool
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<'a, T, C, M> Inspect<'a, C, &'a C, M> for T
impl<'a, T, C, M> Inspect<'a, C, &'a C, M> for T
impl<'a, T, C, M> Inspect<'a, C, &'a mut C, M> for T
impl<'a, T, C, M> Inspect<'a, C, &'a mut C, M> for T
impl<Fr, To> IntoColor<To> for Fr where
To: FromColor<Fr>,
impl<Fr, To> IntoColor<To> for Fr where
To: FromColor<Fr>,
fn into_color(self) -> To
fn into_color(self) -> To
Convert into color
impl<T> Pointable for T
impl<T> Pointable for T
impl<T> SetParameter for T
impl<T> SetParameter for T
fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Result where
T: Parameter<Self>,
fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Result where
T: Parameter<Self>,
Sets value
as a parameter of self
.