Struct x11rb::protocol::screensaver::SetAttributesAux
source · pub struct SetAttributesAux {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<EventMask>,
pub do_not_propogate_mask: Option<EventMask>,
pub colormap: Option<u32>,
pub cursor: Option<u32>,
}
Expand description
Auxiliary and optional information for the set_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<EventMask>
§do_not_propogate_mask: Option<EventMask>
§colormap: Option<u32>
§cursor: Option<u32>
Implementations§
source§impl SetAttributesAux
impl SetAttributesAux
sourcepub fn new() -> SetAttributesAux
pub fn new() -> SetAttributesAux
Create a new instance with all fields unset / not present.
sourcepub fn background_pixmap<I>(self, value: I) -> SetAttributesAux
pub fn background_pixmap<I>(self, value: I) -> SetAttributesAux
Set the background_pixmap
field of this structure.
sourcepub fn background_pixel<I>(self, value: I) -> SetAttributesAux
pub fn background_pixel<I>(self, value: I) -> SetAttributesAux
Set the background_pixel
field of this structure.
sourcepub fn border_pixmap<I>(self, value: I) -> SetAttributesAux
pub fn border_pixmap<I>(self, value: I) -> SetAttributesAux
Set the border_pixmap
field of this structure.
sourcepub fn border_pixel<I>(self, value: I) -> SetAttributesAux
pub fn border_pixel<I>(self, value: I) -> SetAttributesAux
Set the border_pixel
field of this structure.
sourcepub fn bit_gravity<I>(self, value: I) -> SetAttributesAux
pub fn bit_gravity<I>(self, value: I) -> SetAttributesAux
Set the bit_gravity
field of this structure.
sourcepub fn win_gravity<I>(self, value: I) -> SetAttributesAux
pub fn win_gravity<I>(self, value: I) -> SetAttributesAux
Set the win_gravity
field of this structure.
sourcepub fn backing_store<I>(self, value: I) -> SetAttributesAux
pub fn backing_store<I>(self, value: I) -> SetAttributesAux
Set the backing_store
field of this structure.
sourcepub fn backing_planes<I>(self, value: I) -> SetAttributesAux
pub fn backing_planes<I>(self, value: I) -> SetAttributesAux
Set the backing_planes
field of this structure.
sourcepub fn backing_pixel<I>(self, value: I) -> SetAttributesAux
pub fn backing_pixel<I>(self, value: I) -> SetAttributesAux
Set the backing_pixel
field of this structure.
sourcepub fn override_redirect<I>(self, value: I) -> SetAttributesAux
pub fn override_redirect<I>(self, value: I) -> SetAttributesAux
Set the override_redirect
field of this structure.
sourcepub fn save_under<I>(self, value: I) -> SetAttributesAux
pub fn save_under<I>(self, value: I) -> SetAttributesAux
Set the save_under
field of this structure.
sourcepub fn event_mask<I>(self, value: I) -> SetAttributesAux
pub fn event_mask<I>(self, value: I) -> SetAttributesAux
Set the event_mask
field of this structure.
sourcepub fn do_not_propogate_mask<I>(self, value: I) -> SetAttributesAux
pub fn do_not_propogate_mask<I>(self, value: I) -> SetAttributesAux
Set the do_not_propogate_mask
field of this structure.
sourcepub fn colormap<I>(self, value: I) -> SetAttributesAux
pub fn colormap<I>(self, value: I) -> SetAttributesAux
Set the colormap
field of this structure.
Trait Implementations§
source§impl Clone for SetAttributesAux
impl Clone for SetAttributesAux
source§fn clone(&self) -> SetAttributesAux
fn clone(&self) -> SetAttributesAux
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for SetAttributesAux
impl Debug for SetAttributesAux
source§impl Default for SetAttributesAux
impl Default for SetAttributesAux
source§fn default() -> SetAttributesAux
fn default() -> SetAttributesAux
source§impl Hash for SetAttributesAux
impl Hash for SetAttributesAux
source§impl Ord for SetAttributesAux
impl Ord for SetAttributesAux
source§fn cmp(&self, other: &SetAttributesAux) -> Ordering
fn cmp(&self, other: &SetAttributesAux) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
source§impl PartialEq for SetAttributesAux
impl PartialEq for SetAttributesAux
source§fn eq(&self, other: &SetAttributesAux) -> bool
fn eq(&self, other: &SetAttributesAux) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for SetAttributesAux
impl PartialOrd for SetAttributesAux
source§fn partial_cmp(&self, other: &SetAttributesAux) -> Option<Ordering>
fn partial_cmp(&self, other: &SetAttributesAux) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
self
and other
) and is used by the <=
operator. Read more