Struct x11rb_protocol::protocol::xproto::ChangeWindowAttributesAux
source · pub struct ChangeWindowAttributesAux {Show 15 fields
pub background_pixmap: Option<Pixmap>,
pub background_pixel: Option<u32>,
pub border_pixmap: Option<Pixmap>,
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<Bool32>,
pub save_under: Option<Bool32>,
pub event_mask: Option<EventMask>,
pub do_not_propogate_mask: Option<EventMask>,
pub colormap: Option<Colormap>,
pub cursor: Option<Cursor>,
}
Expand description
Auxiliary and optional information for the change_window_attributes
function
Fields§
§background_pixmap: Option<Pixmap>
§background_pixel: Option<u32>
§border_pixmap: Option<Pixmap>
§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<Bool32>
§save_under: Option<Bool32>
§event_mask: Option<EventMask>
§do_not_propogate_mask: Option<EventMask>
§colormap: Option<Colormap>
§cursor: Option<Cursor>
Implementations§
source§impl ChangeWindowAttributesAux
impl ChangeWindowAttributesAux
sourcepub fn background_pixmap<I>(self, value: I) -> Selfwhere
I: Into<Option<Pixmap>>,
pub fn background_pixmap<I>(self, value: I) -> Selfwhere I: Into<Option<Pixmap>>,
Set the background_pixmap
field of this structure.
sourcepub fn background_pixel<I>(self, value: I) -> Selfwhere
I: Into<Option<u32>>,
pub fn background_pixel<I>(self, value: I) -> Selfwhere I: Into<Option<u32>>,
Set the background_pixel
field of this structure.
sourcepub fn border_pixmap<I>(self, value: I) -> Selfwhere
I: Into<Option<Pixmap>>,
pub fn border_pixmap<I>(self, value: I) -> Selfwhere I: Into<Option<Pixmap>>,
Set the border_pixmap
field of this structure.
sourcepub fn border_pixel<I>(self, value: I) -> Selfwhere
I: Into<Option<u32>>,
pub fn border_pixel<I>(self, value: I) -> Selfwhere I: Into<Option<u32>>,
Set the border_pixel
field of this structure.
sourcepub fn bit_gravity<I>(self, value: I) -> Selfwhere
I: Into<Option<Gravity>>,
pub fn bit_gravity<I>(self, value: I) -> Selfwhere I: Into<Option<Gravity>>,
Set the bit_gravity
field of this structure.
sourcepub fn win_gravity<I>(self, value: I) -> Selfwhere
I: Into<Option<Gravity>>,
pub fn win_gravity<I>(self, value: I) -> Selfwhere I: Into<Option<Gravity>>,
Set the win_gravity
field of this structure.
sourcepub fn backing_store<I>(self, value: I) -> Selfwhere
I: Into<Option<BackingStore>>,
pub fn backing_store<I>(self, value: I) -> Selfwhere I: Into<Option<BackingStore>>,
Set the backing_store
field of this structure.
sourcepub fn backing_planes<I>(self, value: I) -> Selfwhere
I: Into<Option<u32>>,
pub fn backing_planes<I>(self, value: I) -> Selfwhere I: Into<Option<u32>>,
Set the backing_planes
field of this structure.
sourcepub fn backing_pixel<I>(self, value: I) -> Selfwhere
I: Into<Option<u32>>,
pub fn backing_pixel<I>(self, value: I) -> Selfwhere I: Into<Option<u32>>,
Set the backing_pixel
field of this structure.
sourcepub fn override_redirect<I>(self, value: I) -> Selfwhere
I: Into<Option<Bool32>>,
pub fn override_redirect<I>(self, value: I) -> Selfwhere I: Into<Option<Bool32>>,
Set the override_redirect
field of this structure.
sourcepub fn save_under<I>(self, value: I) -> Selfwhere
I: Into<Option<Bool32>>,
pub fn save_under<I>(self, value: I) -> Selfwhere I: Into<Option<Bool32>>,
Set the save_under
field of this structure.
sourcepub fn event_mask<I>(self, value: I) -> Selfwhere
I: Into<Option<EventMask>>,
pub fn event_mask<I>(self, value: I) -> Selfwhere I: Into<Option<EventMask>>,
Set the event_mask
field of this structure.
sourcepub fn do_not_propogate_mask<I>(self, value: I) -> Selfwhere
I: Into<Option<EventMask>>,
pub fn do_not_propogate_mask<I>(self, value: I) -> Selfwhere I: Into<Option<EventMask>>,
Set the do_not_propogate_mask
field of this structure.
Trait Implementations§
source§impl Clone for ChangeWindowAttributesAux
impl Clone for ChangeWindowAttributesAux
source§fn clone(&self) -> ChangeWindowAttributesAux
fn clone(&self) -> ChangeWindowAttributesAux
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 moresource§impl Debug for ChangeWindowAttributesAux
impl Debug for ChangeWindowAttributesAux
source§impl Default for ChangeWindowAttributesAux
impl Default for ChangeWindowAttributesAux
source§fn default() -> ChangeWindowAttributesAux
fn default() -> ChangeWindowAttributesAux
Returns the “default value” for a type. Read more
source§impl Hash for ChangeWindowAttributesAux
impl Hash for ChangeWindowAttributesAux
source§impl Ord for ChangeWindowAttributesAux
impl Ord for ChangeWindowAttributesAux
source§fn cmp(&self, other: &ChangeWindowAttributesAux) -> Ordering
fn cmp(&self, other: &ChangeWindowAttributesAux) -> 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<ChangeWindowAttributesAux> for ChangeWindowAttributesAux
impl PartialEq<ChangeWindowAttributesAux> for ChangeWindowAttributesAux
source§fn 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 ==
.source§impl PartialOrd<ChangeWindowAttributesAux> for ChangeWindowAttributesAux
impl PartialOrd<ChangeWindowAttributesAux> for ChangeWindowAttributesAux
source§fn partial_cmp(&self, other: &ChangeWindowAttributesAux) -> Option<Ordering>
fn partial_cmp(&self, other: &ChangeWindowAttributesAux) -> Option<Ordering>
1.0.0 · source§fn 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 moreimpl 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§
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