x11rb::protocol::xproto

Struct ChangeWindowAttributesAux

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<EventMask>, pub do_not_propogate_mask: Option<EventMask>, 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<EventMask>§do_not_propogate_mask: Option<EventMask>§colormap: Option<u32>§cursor: Option<u32>

Implementations§

§

impl ChangeWindowAttributesAux

pub fn new() -> ChangeWindowAttributesAux

Create a new instance with all fields unset / not present.

pub fn background_pixmap<I>(self, value: I) -> ChangeWindowAttributesAux
where I: Into<Option<u32>>,

Set the background_pixmap field of this structure.

pub fn background_pixel<I>(self, value: I) -> ChangeWindowAttributesAux
where I: Into<Option<u32>>,

Set the background_pixel field of this structure.

pub fn border_pixmap<I>(self, value: I) -> ChangeWindowAttributesAux
where I: Into<Option<u32>>,

Set the border_pixmap field of this structure.

pub fn border_pixel<I>(self, value: I) -> ChangeWindowAttributesAux
where I: Into<Option<u32>>,

Set the border_pixel field of this structure.

pub fn bit_gravity<I>(self, value: I) -> ChangeWindowAttributesAux
where I: Into<Option<Gravity>>,

Set the bit_gravity field of this structure.

pub fn win_gravity<I>(self, value: I) -> ChangeWindowAttributesAux
where I: Into<Option<Gravity>>,

Set the win_gravity field of this structure.

pub fn backing_store<I>(self, value: I) -> ChangeWindowAttributesAux

Set the backing_store field of this structure.

pub fn backing_planes<I>(self, value: I) -> ChangeWindowAttributesAux
where I: Into<Option<u32>>,

Set the backing_planes field of this structure.

pub fn backing_pixel<I>(self, value: I) -> ChangeWindowAttributesAux
where I: Into<Option<u32>>,

Set the backing_pixel field of this structure.

pub fn override_redirect<I>(self, value: I) -> ChangeWindowAttributesAux
where I: Into<Option<u32>>,

Set the override_redirect field of this structure.

pub fn save_under<I>(self, value: I) -> ChangeWindowAttributesAux
where I: Into<Option<u32>>,

Set the save_under field of this structure.

pub fn event_mask<I>(self, value: I) -> ChangeWindowAttributesAux
where I: Into<Option<EventMask>>,

Set the event_mask field of this structure.

pub fn do_not_propogate_mask<I>(self, value: I) -> ChangeWindowAttributesAux
where I: Into<Option<EventMask>>,

Set the do_not_propogate_mask field of this structure.

pub fn colormap<I>(self, value: I) -> ChangeWindowAttributesAux
where I: Into<Option<u32>>,

Set the colormap field of this structure.

pub fn cursor<I>(self, value: I) -> ChangeWindowAttributesAux
where I: Into<Option<u32>>,

Set the cursor field of this structure.

Trait Implementations§

§

impl Clone for ChangeWindowAttributesAux

§

fn clone(&self) -> ChangeWindowAttributesAux

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for ChangeWindowAttributesAux

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl Default for ChangeWindowAttributesAux

§

fn default() -> ChangeWindowAttributesAux

Returns the “default value” for a type. Read more
§

impl Copy for ChangeWindowAttributesAux

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.