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