Struct gdk_x11_sys::xlib::XWindowAttributes
[−]#[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: u64,
pub class: i32,
pub bit_gravity: i32,
pub win_gravity: i32,
pub backing_store: i32,
pub backing_planes: u64,
pub backing_pixel: u64,
pub save_under: i32,
pub colormap: u64,
pub map_installed: i32,
pub map_state: i32,
pub all_event_masks: i64,
pub your_event_mask: i64,
pub do_not_propagate_mask: i64,
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: u64
class: i32
bit_gravity: i32
win_gravity: i32
backing_store: i32
backing_planes: u64
backing_pixel: u64
save_under: i32
colormap: u64
map_installed: i32
map_state: i32
all_event_masks: i64
your_event_mask: i64
do_not_propagate_mask: i64
override_redirect: i32
screen: *mut Screen
Trait Implementations
impl Clone for XWindowAttributes
impl Clone for XWindowAttributes
fn clone(&self) -> XWindowAttributes
fn clone(&self) -> XWindowAttributes
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
impl Debug for XWindowAttributes
impl Debug for XWindowAttributes
impl PartialEq<XWindowAttributes> for XWindowAttributes
impl PartialEq<XWindowAttributes> for XWindowAttributes
fn eq(&self, other: &XWindowAttributes) -> bool
fn eq(&self, other: &XWindowAttributes) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
fn ne(&self, other: &XWindowAttributes) -> bool
fn ne(&self, other: &XWindowAttributes) -> bool
This method tests for !=
.
impl Copy for XWindowAttributes
impl StructuralPartialEq for XWindowAttributes
Auto Trait Implementations
impl RefUnwindSafe for XWindowAttributes
impl !Send for XWindowAttributes
impl !Sync for XWindowAttributes
impl Unpin for XWindowAttributes
impl UnwindSafe for XWindowAttributes
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> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more