#[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§
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§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
Source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Convert
Box<dyn Trait>
(where Trait: Downcast
) to Box<dyn Any>
. Box<dyn Any>
can
then be further downcast
into Box<ConcreteType>
where ConcreteType
implements Trait
.Source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait>
(where Trait: Downcast
) to Rc<Any>
. Rc<Any>
can then be
further downcast
into Rc<ConcreteType>
where ConcreteType
implements Trait
.Source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &Any
’s vtable from &Trait
’s.Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &mut Any
’s vtable from &mut Trait
’s.