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