Struct ConfigureWindowAux
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§
§impl ConfigureWindowAux
impl ConfigureWindowAux
pub fn new() -> ConfigureWindowAux
pub fn new() -> ConfigureWindowAux
Create a new instance with all fields unset / not present.
pub fn x<I>(self, value: I) -> ConfigureWindowAux
pub fn x<I>(self, value: I) -> ConfigureWindowAux
Set the x
field of this structure.
pub fn y<I>(self, value: I) -> ConfigureWindowAux
pub fn y<I>(self, value: I) -> ConfigureWindowAux
Set the y
field of this structure.
pub fn width<I>(self, value: I) -> ConfigureWindowAux
pub fn width<I>(self, value: I) -> ConfigureWindowAux
Set the width
field of this structure.
pub fn height<I>(self, value: I) -> ConfigureWindowAux
pub fn height<I>(self, value: I) -> ConfigureWindowAux
Set the height
field of this structure.
pub 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.
pub fn sibling<I>(self, value: I) -> ConfigureWindowAux
pub fn sibling<I>(self, value: I) -> ConfigureWindowAux
Set the sibling
field of this structure.
pub 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.
§impl ConfigureWindowAux
impl ConfigureWindowAux
pub 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§
§impl Clone for ConfigureWindowAux
impl Clone for ConfigureWindowAux
§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 more§impl Debug for ConfigureWindowAux
impl Debug for ConfigureWindowAux
§impl Default for ConfigureWindowAux
impl Default for ConfigureWindowAux
§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
)