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