Struct redwm::imports::GetGeometryReply [−][src]
pub struct GetGeometryReply { pub depth: u8, pub sequence: u16, pub length: u32, pub root: u32, pub x: i16, pub y: i16, pub width: u16, pub height: u16, pub border_width: u16, }
Expand description
Fields
root
- Root window of the screen containingdrawable
.x
- The X coordinate ofdrawable
. Ifdrawable
is a window, the coordinate specifies the upper-left outer corner relative to its parent’s origin. Ifdrawable
is a pixmap, the X coordinate is always 0.y
- The Y coordinate ofdrawable
. Ifdrawable
is a window, the coordinate specifies the upper-left outer corner relative to its parent’s origin. Ifdrawable
is a pixmap, the Y coordinate is always 0.width
- The width ofdrawable
.height
- The height ofdrawable
.border_width
- The border width (in pixels).depth
- The depth of the drawable (bits per pixel for the object).
Fields
depth: u8
sequence: u16
length: u32
root: u32
x: i16
y: i16
width: u16
height: u16
border_width: u16
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for GetGeometryReply
impl Send for GetGeometryReply
impl Sync for GetGeometryReply
impl Unpin for GetGeometryReply
impl UnwindSafe for GetGeometryReply
Blanket Implementations
Mutably borrows from an owned value. Read more