Struct x11rb_protocol::protocol::xproto::GetGeometryReply
source · [−]pub struct GetGeometryReply {
pub depth: u8,
pub sequence: u16,
pub length: u32,
pub root: Window,
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: Window
x: i16
y: i16
width: u16
height: u16
border_width: u16
Trait Implementations
sourceimpl Clone for GetGeometryReply
impl Clone for GetGeometryReply
sourcefn clone(&self) -> GetGeometryReply
fn clone(&self) -> GetGeometryReply
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
sourceimpl Debug for GetGeometryReply
impl Debug for GetGeometryReply
sourceimpl Default for GetGeometryReply
impl Default for GetGeometryReply
sourcefn default() -> GetGeometryReply
fn default() -> GetGeometryReply
Returns the “default value” for a type. Read more
sourceimpl From<GetGeometryReply> for Reply
impl From<GetGeometryReply> for Reply
sourcefn from(reply: GetGeometryReply) -> Reply
fn from(reply: GetGeometryReply) -> Reply
Converts to this type from the input type.
sourceimpl Hash for GetGeometryReply
impl Hash for GetGeometryReply
sourceimpl Ord for GetGeometryReply
impl Ord for GetGeometryReply
sourceimpl PartialEq<GetGeometryReply> for GetGeometryReply
impl PartialEq<GetGeometryReply> for GetGeometryReply
sourcefn eq(&self, other: &GetGeometryReply) -> bool
fn eq(&self, other: &GetGeometryReply) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &GetGeometryReply) -> bool
fn ne(&self, other: &GetGeometryReply) -> bool
This method tests for !=
.
sourceimpl PartialOrd<GetGeometryReply> for GetGeometryReply
impl PartialOrd<GetGeometryReply> for GetGeometryReply
sourcefn partial_cmp(&self, other: &GetGeometryReply) -> Option<Ordering>
fn partial_cmp(&self, other: &GetGeometryReply) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
sourceimpl TryParse for GetGeometryReply
impl TryParse for GetGeometryReply
impl Copy for GetGeometryReply
impl Eq for GetGeometryReply
impl StructuralEq for GetGeometryReply
impl StructuralPartialEq for GetGeometryReply
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
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