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
fn switch_expr(&self) -> u16
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
impl Copy 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