Struct x11rb_protocol::protocol::xproto::ConfigureNotifyEvent
source · pub struct ConfigureNotifyEvent {
pub response_type: u8,
pub sequence: u16,
pub event: Window,
pub window: Window,
pub above_sibling: Window,
pub x: i16,
pub y: i16,
pub width: u16,
pub height: u16,
pub border_width: u16,
pub override_redirect: bool,
}
Expand description
NOT YET DOCUMENTED.
§Fields
event
- The reconfigured window or its parent, depending on whetherStructureNotify
orSubstructureNotify
was selected.window
- The window whose size, position, border, and/or stacking order was changed.above_sibling
- IfXCB_NONE
, thewindow
is on the bottom of the stack with respect to sibling windows. However, if set to a sibling window, thewindow
is placed on top of this sibling window.x
- The X coordinate of the upper-left outside corner ofwindow
, relative to the parent window’s origin.y
- The Y coordinate of the upper-left outside corner ofwindow
, relative to the parent window’s origin.width
- The inside width ofwindow
, not including the border.height
- The inside height ofwindow
, not including the border.border_width
- The border width ofwindow
.override_redirect
- Window managers should ignore this window ifoverride_redirect
is 1.
§See
FreeColormap
: request
Fields§
§response_type: u8
§sequence: u16
§event: Window
§window: Window
§above_sibling: Window
§x: i16
§y: i16
§width: u16
§height: u16
§border_width: u16
§override_redirect: bool
Trait Implementations§
source§impl Clone for ConfigureNotifyEvent
impl Clone for ConfigureNotifyEvent
source§fn clone(&self) -> ConfigureNotifyEvent
fn clone(&self) -> ConfigureNotifyEvent
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 ConfigureNotifyEvent
impl Debug for ConfigureNotifyEvent
source§impl Default for ConfigureNotifyEvent
impl Default for ConfigureNotifyEvent
source§fn default() -> ConfigureNotifyEvent
fn default() -> ConfigureNotifyEvent
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ConfigureNotifyEvent
impl<'de> Deserialize<'de> for ConfigureNotifyEvent
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<&ConfigureNotifyEvent> for [u8; 32]
impl From<&ConfigureNotifyEvent> for [u8; 32]
source§fn from(input: &ConfigureNotifyEvent) -> Self
fn from(input: &ConfigureNotifyEvent) -> Self
Converts to this type from the input type.
source§impl From<ConfigureNotifyEvent> for [u8; 32]
impl From<ConfigureNotifyEvent> for [u8; 32]
source§fn from(input: ConfigureNotifyEvent) -> Self
fn from(input: ConfigureNotifyEvent) -> Self
Converts to this type from the input type.
source§impl Hash for ConfigureNotifyEvent
impl Hash for ConfigureNotifyEvent
source§impl Ord for ConfigureNotifyEvent
impl Ord for ConfigureNotifyEvent
source§fn cmp(&self, other: &ConfigureNotifyEvent) -> Ordering
fn cmp(&self, other: &ConfigureNotifyEvent) -> 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 ConfigureNotifyEvent
impl PartialEq for ConfigureNotifyEvent
source§fn eq(&self, other: &ConfigureNotifyEvent) -> bool
fn eq(&self, other: &ConfigureNotifyEvent) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for ConfigureNotifyEvent
impl PartialOrd for ConfigureNotifyEvent
source§fn partial_cmp(&self, other: &ConfigureNotifyEvent) -> Option<Ordering>
fn partial_cmp(&self, other: &ConfigureNotifyEvent) -> 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 ConfigureNotifyEvent
impl Serialize for ConfigureNotifyEvent
source§impl Serialize for ConfigureNotifyEvent
impl Serialize for ConfigureNotifyEvent
source§impl TryParse for ConfigureNotifyEvent
impl TryParse for ConfigureNotifyEvent
impl Copy for ConfigureNotifyEvent
impl Eq for ConfigureNotifyEvent
impl StructuralPartialEq for ConfigureNotifyEvent
Auto Trait Implementations§
impl Freeze for ConfigureNotifyEvent
impl RefUnwindSafe for ConfigureNotifyEvent
impl Send for ConfigureNotifyEvent
impl Sync for ConfigureNotifyEvent
impl Unpin for ConfigureNotifyEvent
impl UnwindSafe for ConfigureNotifyEvent
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