#[repr(C)]
pub struct XWindowAttributes {
Show 23 fields pub x: i32, pub y: i32, pub width: i32, pub height: i32, pub border_width: i32, pub depth: i32, pub visual: *mut Visual, pub root: u32, pub class: i32, pub bit_gravity: i32, pub win_gravity: i32, pub backing_store: i32, pub backing_planes: u32, pub backing_pixel: u32, pub save_under: i32, pub colormap: u32, pub map_installed: i32, pub map_state: i32, pub all_event_masks: i32, pub your_event_mask: i32, pub do_not_propagate_mask: i32, pub override_redirect: i32, pub screen: *mut Screen,
}

Fields§

§x: i32§y: i32§width: i32§height: i32§border_width: i32§depth: i32§visual: *mut Visual§root: u32§class: i32§bit_gravity: i32§win_gravity: i32§backing_store: i32§backing_planes: u32§backing_pixel: u32§save_under: i32§colormap: u32§map_installed: i32§map_state: i32§all_event_masks: i32§your_event_mask: i32§do_not_propagate_mask: i32§override_redirect: i32§screen: *mut Screen

Trait Implementations§

source§

impl Clone for XWindowAttributes

source§

fn clone(&self) -> XWindowAttributes

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
source§

impl Debug for XWindowAttributes

source§

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

Formats the value using the given formatter. Read more
source§

impl PartialEq<XWindowAttributes> for XWindowAttributes

source§

fn eq(&self, other: &XWindowAttributes) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl Copy for XWindowAttributes

source§

impl StructuralPartialEq for XWindowAttributes

Auto Trait Implementations§

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

source§

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

Mutably borrows from an owned value. 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 Twhere 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 Twhere T: Clone,

§

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 Twhere U: Into<T>,

§

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 Twhere U: TryFrom<T>,

§

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.