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
sourceimpl ConfigureWindowAux
impl ConfigureWindowAux
sourcepub fn x<I>(self, value: I) -> Self where
I: Into<Option<i32>>,
pub fn x<I>(self, value: I) -> Self where
I: Into<Option<i32>>,
Set the x
field of this structure.
sourcepub fn y<I>(self, value: I) -> Self where
I: Into<Option<i32>>,
pub fn y<I>(self, value: I) -> Self where
I: Into<Option<i32>>,
Set the y
field of this structure.
sourcepub fn width<I>(self, value: I) -> Self where
I: Into<Option<u32>>,
pub fn width<I>(self, value: I) -> Self where
I: Into<Option<u32>>,
Set the width
field of this structure.
sourcepub fn height<I>(self, value: I) -> Self where
I: Into<Option<u32>>,
pub fn height<I>(self, value: I) -> Self where
I: Into<Option<u32>>,
Set the height
field of this structure.
sourcepub fn border_width<I>(self, value: I) -> Self where
I: Into<Option<u32>>,
pub fn border_width<I>(self, value: I) -> Self where
I: Into<Option<u32>>,
Set the border_width
field of this structure.
sourcepub fn sibling<I>(self, value: I) -> Self where
I: Into<Option<Window>>,
pub fn sibling<I>(self, value: I) -> Self where
I: Into<Option<Window>>,
Set the sibling
field of this structure.
sourcepub fn stack_mode<I>(self, value: I) -> Self where
I: Into<Option<StackMode>>,
pub fn stack_mode<I>(self, value: I) -> Self where
I: Into<Option<StackMode>>,
Set the stack_mode
field of this structure.
sourceimpl 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
sourceimpl Clone for ConfigureWindowAux
impl Clone for ConfigureWindowAux
sourcefn clone(&self) -> ConfigureWindowAux
fn clone(&self) -> ConfigureWindowAux
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ConfigureWindowAux
impl Debug for ConfigureWindowAux
sourceimpl Default for ConfigureWindowAux
impl Default for ConfigureWindowAux
sourcefn default() -> ConfigureWindowAux
fn default() -> ConfigureWindowAux
Returns the “default value” for a type. Read more
sourceimpl Hash for ConfigureWindowAux
impl Hash for ConfigureWindowAux
sourceimpl Ord for ConfigureWindowAux
impl Ord for ConfigureWindowAux
sourceimpl PartialEq<ConfigureWindowAux> for ConfigureWindowAux
impl PartialEq<ConfigureWindowAux> for ConfigureWindowAux
sourcefn 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 ==
. Read more
sourcefn ne(&self, other: &ConfigureWindowAux) -> bool
fn ne(&self, other: &ConfigureWindowAux) -> bool
This method tests for !=
.
sourceimpl PartialOrd<ConfigureWindowAux> for ConfigureWindowAux
impl PartialOrd<ConfigureWindowAux> for ConfigureWindowAux
sourcefn partial_cmp(&self, other: &ConfigureWindowAux) -> Option<Ordering>
fn partial_cmp(&self, other: &ConfigureWindowAux) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn 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 more
impl Copy for ConfigureWindowAux
impl Eq for ConfigureWindowAux
impl StructuralEq for ConfigureWindowAux
impl StructuralPartialEq for ConfigureWindowAux
Auto Trait Implementations
impl RefUnwindSafe for ConfigureWindowAux
impl Send for ConfigureWindowAux
impl Sync for ConfigureWindowAux
impl Unpin for ConfigureWindowAux
impl UnwindSafe for ConfigureWindowAux
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more