Struct x11::xlib::XFocusChangeEvent
source · #[repr(C)]pub struct XFocusChangeEvent {
pub type_: c_int,
pub serial: c_ulong,
pub send_event: Bool,
pub display: *mut Display,
pub window: Window,
pub mode: c_int,
pub detail: c_int,
}
Fields§
§type_: c_int
§serial: c_ulong
§send_event: Bool
§display: *mut Display
§window: Window
§mode: c_int
§detail: c_int
Trait Implementations§
source§impl AsMut<XFocusChangeEvent> for XEvent
impl AsMut<XFocusChangeEvent> for XEvent
source§fn as_mut(&mut self) -> &mut XFocusChangeEvent
fn as_mut(&mut self) -> &mut XFocusChangeEvent
Converts this type into a mutable reference of the (usually inferred) input type.
source§impl AsRef<XFocusChangeEvent> for XEvent
impl AsRef<XFocusChangeEvent> for XEvent
source§fn as_ref(&self) -> &XFocusChangeEvent
fn as_ref(&self) -> &XFocusChangeEvent
Converts this type into a shared reference of the (usually inferred) input type.
source§impl Clone for XFocusChangeEvent
impl Clone for XFocusChangeEvent
source§fn clone(&self) -> XFocusChangeEvent
fn clone(&self) -> XFocusChangeEvent
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 XFocusChangeEvent
impl Debug for XFocusChangeEvent
source§impl<'a> From<&'a XEvent> for XFocusChangeEvent
impl<'a> From<&'a XEvent> for XFocusChangeEvent
source§fn from(xevent: &'a XEvent) -> XFocusChangeEvent
fn from(xevent: &'a XEvent) -> XFocusChangeEvent
Converts to this type from the input type.
source§impl<'a> From<&'a XFocusChangeEvent> for XEvent
impl<'a> From<&'a XFocusChangeEvent> for XEvent
source§fn from(other: &'a XFocusChangeEvent) -> XEvent
fn from(other: &'a XFocusChangeEvent) -> XEvent
Converts to this type from the input type.
source§impl From<XEvent> for XFocusChangeEvent
impl From<XEvent> for XFocusChangeEvent
source§fn from(xevent: XEvent) -> XFocusChangeEvent
fn from(xevent: XEvent) -> XFocusChangeEvent
Converts to this type from the input type.
source§impl From<XFocusChangeEvent> for XEvent
impl From<XFocusChangeEvent> for XEvent
source§fn from(other: XFocusChangeEvent) -> XEvent
fn from(other: XFocusChangeEvent) -> XEvent
Converts to this type from the input type.
source§impl PartialEq for XFocusChangeEvent
impl PartialEq for XFocusChangeEvent
source§fn eq(&self, other: &XFocusChangeEvent) -> bool
fn eq(&self, other: &XFocusChangeEvent) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for XFocusChangeEvent
impl StructuralPartialEq for XFocusChangeEvent
Auto Trait Implementations§
impl Freeze for XFocusChangeEvent
impl RefUnwindSafe for XFocusChangeEvent
impl !Send for XFocusChangeEvent
impl !Sync for XFocusChangeEvent
impl Unpin for XFocusChangeEvent
impl UnwindSafe for XFocusChangeEvent
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