Struct x11rb_protocol::protocol::xproto::MapNotifyEvent
source · pub struct MapNotifyEvent {
pub response_type: u8,
pub sequence: u16,
pub event: Window,
pub window: Window,
pub override_redirect: bool,
}
Expand description
a window was mapped.
§Fields
event
- The window which was mapped or its parent, depending on whetherStructureNotify
orSubstructureNotify
was selected.window
- The window that was mapped.override_redirect
- Window managers should ignore this window ifoverride_redirect
is 1.
§See
MapWindow
: request
Fields§
§response_type: u8
§sequence: u16
§event: Window
§window: Window
§override_redirect: bool
Trait Implementations§
source§impl Clone for MapNotifyEvent
impl Clone for MapNotifyEvent
source§fn clone(&self) -> MapNotifyEvent
fn clone(&self) -> MapNotifyEvent
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 MapNotifyEvent
impl Debug for MapNotifyEvent
source§impl Default for MapNotifyEvent
impl Default for MapNotifyEvent
source§fn default() -> MapNotifyEvent
fn default() -> MapNotifyEvent
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for MapNotifyEvent
impl<'de> Deserialize<'de> for MapNotifyEvent
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl From<&MapNotifyEvent> for [u8; 32]
impl From<&MapNotifyEvent> for [u8; 32]
source§fn from(input: &MapNotifyEvent) -> Self
fn from(input: &MapNotifyEvent) -> Self
Converts to this type from the input type.
source§impl From<MapNotifyEvent> for [u8; 32]
impl From<MapNotifyEvent> for [u8; 32]
source§fn from(input: MapNotifyEvent) -> Self
fn from(input: MapNotifyEvent) -> Self
Converts to this type from the input type.
source§impl Hash for MapNotifyEvent
impl Hash for MapNotifyEvent
source§impl Ord for MapNotifyEvent
impl Ord for MapNotifyEvent
source§fn cmp(&self, other: &MapNotifyEvent) -> Ordering
fn cmp(&self, other: &MapNotifyEvent) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for MapNotifyEvent
impl PartialEq for MapNotifyEvent
source§fn eq(&self, other: &MapNotifyEvent) -> bool
fn eq(&self, other: &MapNotifyEvent) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for MapNotifyEvent
impl PartialOrd for MapNotifyEvent
source§fn partial_cmp(&self, other: &MapNotifyEvent) -> Option<Ordering>
fn partial_cmp(&self, other: &MapNotifyEvent) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl Serialize for MapNotifyEvent
impl Serialize for MapNotifyEvent
source§impl Serialize for MapNotifyEvent
impl Serialize for MapNotifyEvent
source§impl TryParse for MapNotifyEvent
impl TryParse for MapNotifyEvent
impl Copy for MapNotifyEvent
impl Eq for MapNotifyEvent
impl StructuralPartialEq for MapNotifyEvent
Auto Trait Implementations§
impl Freeze for MapNotifyEvent
impl RefUnwindSafe for MapNotifyEvent
impl Send for MapNotifyEvent
impl Sync for MapNotifyEvent
impl Unpin for MapNotifyEvent
impl UnwindSafe for MapNotifyEvent
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
source§impl<T> TryParseFd for Twhere
T: TryParse,
impl<T> TryParseFd for Twhere
T: TryParse,
source§fn try_parse_fd<'a>(
value: &'a [u8],
_: &mut Vec<OwnedFd>
) -> Result<(T, &'a [u8]), ParseError>
fn try_parse_fd<'a>( value: &'a [u8], _: &mut Vec<OwnedFd> ) -> Result<(T, &'a [u8]), ParseError>
Try to parse the given values into an instance of this type. Read more