pub struct ChangeWindowAttributesAux {Show 15 fields
pub background_pixmap: Option<u32>,
pub background_pixel: Option<u32>,
pub border_pixmap: Option<u32>,
pub border_pixel: Option<u32>,
pub bit_gravity: Option<Gravity>,
pub win_gravity: Option<Gravity>,
pub backing_store: Option<BackingStore>,
pub backing_planes: Option<u32>,
pub backing_pixel: Option<u32>,
pub override_redirect: Option<u32>,
pub save_under: Option<u32>,
pub event_mask: Option<u32>,
pub do_not_propogate_mask: Option<u32>,
pub colormap: Option<u32>,
pub cursor: Option<u32>,
}
Expand description
Auxiliary and optional information for the change_window_attributes
function
Fields
background_pixmap: Option<u32>
background_pixel: Option<u32>
border_pixmap: Option<u32>
border_pixel: Option<u32>
bit_gravity: Option<Gravity>
win_gravity: Option<Gravity>
backing_store: Option<BackingStore>
backing_planes: Option<u32>
backing_pixel: Option<u32>
override_redirect: Option<u32>
save_under: Option<u32>
event_mask: Option<u32>
do_not_propogate_mask: Option<u32>
colormap: Option<u32>
cursor: Option<u32>
Implementations
sourceimpl ChangeWindowAttributesAux
impl ChangeWindowAttributesAux
sourcepub fn new() -> ChangeWindowAttributesAux
pub fn new() -> ChangeWindowAttributesAux
Create a new instance with all fields unset / not present.
sourcepub fn background_pixmap<I>(self, value: I) -> ChangeWindowAttributesAux where
I: Into<Option<u32>>,
pub fn background_pixmap<I>(self, value: I) -> ChangeWindowAttributesAux where
I: Into<Option<u32>>,
Set the background_pixmap
field of this structure.
sourcepub fn background_pixel<I>(self, value: I) -> ChangeWindowAttributesAux where
I: Into<Option<u32>>,
pub fn background_pixel<I>(self, value: I) -> ChangeWindowAttributesAux where
I: Into<Option<u32>>,
Set the background_pixel
field of this structure.
sourcepub fn border_pixmap<I>(self, value: I) -> ChangeWindowAttributesAux where
I: Into<Option<u32>>,
pub fn border_pixmap<I>(self, value: I) -> ChangeWindowAttributesAux where
I: Into<Option<u32>>,
Set the border_pixmap
field of this structure.
sourcepub fn border_pixel<I>(self, value: I) -> ChangeWindowAttributesAux where
I: Into<Option<u32>>,
pub fn border_pixel<I>(self, value: I) -> ChangeWindowAttributesAux where
I: Into<Option<u32>>,
Set the border_pixel
field of this structure.
sourcepub fn bit_gravity<I>(self, value: I) -> ChangeWindowAttributesAux where
I: Into<Option<Gravity>>,
pub fn bit_gravity<I>(self, value: I) -> ChangeWindowAttributesAux where
I: Into<Option<Gravity>>,
Set the bit_gravity
field of this structure.
sourcepub fn win_gravity<I>(self, value: I) -> ChangeWindowAttributesAux where
I: Into<Option<Gravity>>,
pub fn win_gravity<I>(self, value: I) -> ChangeWindowAttributesAux where
I: Into<Option<Gravity>>,
Set the win_gravity
field of this structure.
sourcepub fn backing_store<I>(self, value: I) -> ChangeWindowAttributesAux where
I: Into<Option<BackingStore>>,
pub fn backing_store<I>(self, value: I) -> ChangeWindowAttributesAux where
I: Into<Option<BackingStore>>,
Set the backing_store
field of this structure.
sourcepub fn backing_planes<I>(self, value: I) -> ChangeWindowAttributesAux where
I: Into<Option<u32>>,
pub fn backing_planes<I>(self, value: I) -> ChangeWindowAttributesAux where
I: Into<Option<u32>>,
Set the backing_planes
field of this structure.
sourcepub fn backing_pixel<I>(self, value: I) -> ChangeWindowAttributesAux where
I: Into<Option<u32>>,
pub fn backing_pixel<I>(self, value: I) -> ChangeWindowAttributesAux where
I: Into<Option<u32>>,
Set the backing_pixel
field of this structure.
sourcepub fn override_redirect<I>(self, value: I) -> ChangeWindowAttributesAux where
I: Into<Option<u32>>,
pub fn override_redirect<I>(self, value: I) -> ChangeWindowAttributesAux where
I: Into<Option<u32>>,
Set the override_redirect
field of this structure.
sourcepub fn save_under<I>(self, value: I) -> ChangeWindowAttributesAux where
I: Into<Option<u32>>,
pub fn save_under<I>(self, value: I) -> ChangeWindowAttributesAux where
I: Into<Option<u32>>,
Set the save_under
field of this structure.
sourcepub fn event_mask<I>(self, value: I) -> ChangeWindowAttributesAux where
I: Into<Option<u32>>,
pub fn event_mask<I>(self, value: I) -> ChangeWindowAttributesAux where
I: Into<Option<u32>>,
Set the event_mask
field of this structure.
sourcepub fn do_not_propogate_mask<I>(self, value: I) -> ChangeWindowAttributesAux where
I: Into<Option<u32>>,
pub fn do_not_propogate_mask<I>(self, value: I) -> ChangeWindowAttributesAux where
I: Into<Option<u32>>,
Set the do_not_propogate_mask
field of this structure.
Trait Implementations
sourceimpl Clone for ChangeWindowAttributesAux
impl Clone for ChangeWindowAttributesAux
sourcefn clone(&self) -> ChangeWindowAttributesAux
fn clone(&self) -> ChangeWindowAttributesAux
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 ChangeWindowAttributesAux
impl Debug for ChangeWindowAttributesAux
sourceimpl Default for ChangeWindowAttributesAux
impl Default for ChangeWindowAttributesAux
sourcefn default() -> ChangeWindowAttributesAux
fn default() -> ChangeWindowAttributesAux
Returns the “default value” for a type. Read more
sourceimpl Hash for ChangeWindowAttributesAux
impl Hash for ChangeWindowAttributesAux
sourceimpl Ord for ChangeWindowAttributesAux
impl Ord for ChangeWindowAttributesAux
sourceimpl PartialEq<ChangeWindowAttributesAux> for ChangeWindowAttributesAux
impl PartialEq<ChangeWindowAttributesAux> for ChangeWindowAttributesAux
sourcefn eq(&self, other: &ChangeWindowAttributesAux) -> bool
fn eq(&self, other: &ChangeWindowAttributesAux) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ChangeWindowAttributesAux) -> bool
fn ne(&self, other: &ChangeWindowAttributesAux) -> bool
This method tests for !=
.
sourceimpl PartialOrd<ChangeWindowAttributesAux> for ChangeWindowAttributesAux
impl PartialOrd<ChangeWindowAttributesAux> for ChangeWindowAttributesAux
sourcefn partial_cmp(&self, other: &ChangeWindowAttributesAux) -> Option<Ordering>
fn partial_cmp(&self, other: &ChangeWindowAttributesAux) -> 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 ChangeWindowAttributesAux
impl Eq for ChangeWindowAttributesAux
impl StructuralEq for ChangeWindowAttributesAux
impl StructuralPartialEq for ChangeWindowAttributesAux
Auto Trait Implementations
impl RefUnwindSafe for ChangeWindowAttributesAux
impl Send for ChangeWindowAttributesAux
impl Sync for ChangeWindowAttributesAux
impl Unpin for ChangeWindowAttributesAux
impl UnwindSafe for ChangeWindowAttributesAux
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