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
sourceimpl 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 where
I: Into<Option<i32>>,
pub fn x<I>(self, value: I) -> ConfigureWindowAux where
I: Into<Option<i32>>,
Set the x
field of this structure.
sourcepub fn y<I>(self, value: I) -> ConfigureWindowAux where
I: Into<Option<i32>>,
pub fn y<I>(self, value: I) -> ConfigureWindowAux where
I: Into<Option<i32>>,
Set the y
field of this structure.
sourcepub fn width<I>(self, value: I) -> ConfigureWindowAux where
I: Into<Option<u32>>,
pub fn width<I>(self, value: I) -> ConfigureWindowAux where
I: Into<Option<u32>>,
Set the width
field of this structure.
sourcepub fn height<I>(self, value: I) -> ConfigureWindowAux where
I: Into<Option<u32>>,
pub fn height<I>(self, value: I) -> ConfigureWindowAux where
I: Into<Option<u32>>,
Set the height
field of this structure.
sourcepub fn border_width<I>(self, value: I) -> ConfigureWindowAux where
I: Into<Option<u32>>,
pub fn border_width<I>(self, value: I) -> ConfigureWindowAux where
I: Into<Option<u32>>,
Set the border_width
field of this structure.
sourcepub fn sibling<I>(self, value: I) -> ConfigureWindowAux where
I: Into<Option<u32>>,
pub fn sibling<I>(self, value: I) -> ConfigureWindowAux where
I: Into<Option<u32>>,
Set the sibling
field of this structure.
sourcepub fn stack_mode<I>(self, value: I) -> ConfigureWindowAux where
I: Into<Option<StackMode>>,
pub fn stack_mode<I>(self, value: I) -> ConfigureWindowAux where
I: Into<Option<StackMode>>,
Set the stack_mode
field of this structure.
sourceimpl 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
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
sourceimpl<T> CallHasher for T where
T: Hash + ?Sized,
impl<T> CallHasher for T where
T: Hash + ?Sized,
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more