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 ConfigureRequestEvents.
Trait Implementations§
Source§impl Clone for ConfigureWindowAux
impl Clone for ConfigureWindowAux
Source§fn clone(&self) -> ConfigureWindowAux
fn clone(&self) -> ConfigureWindowAux
Returns a duplicate 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 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§impl PartialOrd for ConfigureWindowAux
impl PartialOrd 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