Struct x11rb::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<u32>,
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<u32>
§stack_mode: Option<StackMode>
Implementations§
source§impl ConfigureWindowAux
impl ConfigureWindowAux
sourcepub fn new() -> ConfigureWindowAux
pub fn new() -> ConfigureWindowAux
Create a new instance with all fields unset / not present.
sourcepub fn x<I>(self, value: I) -> ConfigureWindowAux
pub fn x<I>(self, value: I) -> ConfigureWindowAux
Set the x
field of this structure.
sourcepub fn y<I>(self, value: I) -> ConfigureWindowAux
pub fn y<I>(self, value: I) -> ConfigureWindowAux
Set the y
field of this structure.
sourcepub fn width<I>(self, value: I) -> ConfigureWindowAux
pub fn width<I>(self, value: I) -> ConfigureWindowAux
Set the width
field of this structure.
sourcepub fn height<I>(self, value: I) -> ConfigureWindowAux
pub fn height<I>(self, value: I) -> ConfigureWindowAux
Set the height
field of this structure.
sourcepub fn border_width<I>(self, value: I) -> ConfigureWindowAux
pub fn border_width<I>(self, value: I) -> ConfigureWindowAux
Set the border_width
field of this structure.
sourcepub fn sibling<I>(self, value: I) -> ConfigureWindowAux
pub fn sibling<I>(self, value: I) -> ConfigureWindowAux
Set the sibling
field of this structure.
sourcepub fn stack_mode<I>(self, value: I) -> ConfigureWindowAux
pub fn stack_mode<I>(self, value: I) -> ConfigureWindowAux
Set the stack_mode
field of this structure.
source§impl ConfigureWindowAux
impl ConfigureWindowAux
sourcepub fn from_configure_request(
event: &ConfigureRequestEvent,
) -> ConfigureWindowAux
pub fn from_configure_request( event: &ConfigureRequestEvent, ) -> ConfigureWindowAux
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)