Struct x11rb_protocol::protocol::xproto::ConfigureWindowAux
source · pub struct ConfigureWindowAux {
pub x: Option<i32>,
pub y: Option<i32>,
pub width: Option<u32>,
pub height: Option<u32>,
pub border_width: Option<u32>,
pub sibling: Option<Window>,
pub stack_mode: Option<StackMode>,
}
Expand description
Auxiliary and optional information for the configure_window
function
Fields§
§x: Option<i32>
§y: Option<i32>
§width: Option<u32>
§height: Option<u32>
§border_width: Option<u32>
§sibling: Option<Window>
§stack_mode: Option<StackMode>
Implementations§
source§impl ConfigureWindowAux
impl ConfigureWindowAux
sourcepub fn border_width<I>(self, value: I) -> Self
pub fn border_width<I>(self, value: I) -> Self
Set the border_width
field of this structure.
sourcepub fn stack_mode<I>(self, value: I) -> Self
pub fn stack_mode<I>(self, value: I) -> Self
Set the stack_mode
field of this structure.
source§impl ConfigureWindowAux
impl ConfigureWindowAux
sourcepub fn from_configure_request(event: &ConfigureRequestEvent) -> Self
pub fn from_configure_request(event: &ConfigureRequestEvent) -> Self
Construct from a ConfigureRequestEvent
.
This function construct a new ConfigureWindowAux
instance by accepting all requested
changes from a ConfigureRequestEvent
. This function is useful for window managers that want
to handle ConfigureRequestEvent
s.
Trait Implementations§
source§impl Clone for ConfigureWindowAux
impl Clone for ConfigureWindowAux
source§fn clone(&self) -> ConfigureWindowAux
fn clone(&self) -> ConfigureWindowAux
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 ConfigureWindowAux
impl Debug for ConfigureWindowAux
source§impl Default for ConfigureWindowAux
impl Default for ConfigureWindowAux
source§fn default() -> ConfigureWindowAux
fn default() -> ConfigureWindowAux
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ConfigureWindowAux
impl<'de> Deserialize<'de> for ConfigureWindowAux
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 Hash for ConfigureWindowAux
impl Hash for ConfigureWindowAux
source§impl Ord for ConfigureWindowAux
impl Ord for ConfigureWindowAux
source§fn cmp(&self, other: &ConfigureWindowAux) -> Ordering
fn cmp(&self, other: &ConfigureWindowAux) -> 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 ConfigureWindowAux
impl PartialEq for ConfigureWindowAux
source§fn eq(&self, other: &ConfigureWindowAux) -> bool
fn eq(&self, other: &ConfigureWindowAux) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for ConfigureWindowAux
impl PartialOrd for ConfigureWindowAux
source§fn partial_cmp(&self, other: &ConfigureWindowAux) -> Option<Ordering>
fn partial_cmp(&self, other: &ConfigureWindowAux) -> 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 ConfigureWindowAux
impl Serialize for ConfigureWindowAux
impl Copy for ConfigureWindowAux
impl Eq for ConfigureWindowAux
impl StructuralPartialEq for ConfigureWindowAux
Auto Trait Implementations§
impl Freeze for ConfigureWindowAux
impl RefUnwindSafe for ConfigureWindowAux
impl Send for ConfigureWindowAux
impl Sync for ConfigureWindowAux
impl Unpin for ConfigureWindowAux
impl UnwindSafe for ConfigureWindowAux
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