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
sourceimpl AsMut<XFocusChangeEvent> for XEvent
impl AsMut<XFocusChangeEvent> for XEvent
sourcefn 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.
sourceimpl AsRef<XFocusChangeEvent> for XEvent
impl AsRef<XFocusChangeEvent> for XEvent
sourcefn as_ref(&self) -> &XFocusChangeEvent
fn as_ref(&self) -> &XFocusChangeEvent
Converts this type into a shared reference of the (usually inferred) input type.
sourceimpl Clone for XFocusChangeEvent
impl Clone for XFocusChangeEvent
sourcefn clone(&self) -> XFocusChangeEvent
fn clone(&self) -> XFocusChangeEvent
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
sourceimpl Debug for XFocusChangeEvent
impl Debug for XFocusChangeEvent
sourceimpl<'a> From<&'a XEvent> for XFocusChangeEvent
impl<'a> From<&'a XEvent> for XFocusChangeEvent
sourcefn from(xevent: &'a XEvent) -> XFocusChangeEvent
fn from(xevent: &'a XEvent) -> XFocusChangeEvent
Converts to this type from the input type.
sourceimpl<'a> From<&'a XFocusChangeEvent> for XEvent
impl<'a> From<&'a XFocusChangeEvent> for XEvent
sourcefn from(other: &'a XFocusChangeEvent) -> XEvent
fn from(other: &'a XFocusChangeEvent) -> XEvent
Converts to this type from the input type.
sourceimpl From<XEvent> for XFocusChangeEvent
impl From<XEvent> for XFocusChangeEvent
sourcefn from(xevent: XEvent) -> XFocusChangeEvent
fn from(xevent: XEvent) -> XFocusChangeEvent
Converts to this type from the input type.
sourceimpl From<XFocusChangeEvent> for XEvent
impl From<XFocusChangeEvent> for XEvent
sourcefn from(other: XFocusChangeEvent) -> XEvent
fn from(other: XFocusChangeEvent) -> XEvent
Converts to this type from the input type.
sourceimpl PartialEq<XFocusChangeEvent> for XFocusChangeEvent
impl PartialEq<XFocusChangeEvent> for XFocusChangeEvent
sourcefn 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 ==
. Read more
impl Copy for XFocusChangeEvent
impl StructuralPartialEq for XFocusChangeEvent
Auto Trait Implementations
impl RefUnwindSafe for XFocusChangeEvent
impl !Send for XFocusChangeEvent
impl !Sync for XFocusChangeEvent
impl Unpin for XFocusChangeEvent
impl UnwindSafe for XFocusChangeEvent
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