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§
source§impl Clone for GetGeometryReply
impl Clone for GetGeometryReply
source§fn clone(&self) -> GetGeometryReply
fn clone(&self) -> GetGeometryReply
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for GetGeometryReply
impl Debug for GetGeometryReply
source§impl Default for GetGeometryReply
impl Default for GetGeometryReply
source§fn default() -> GetGeometryReply
fn default() -> GetGeometryReply
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for GetGeometryReply
impl<'de> Deserialize<'de> for GetGeometryReply
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl From<GetGeometryReply> for Reply
impl From<GetGeometryReply> for Reply
source§fn from(reply: GetGeometryReply) -> Reply
fn from(reply: GetGeometryReply) -> Reply
Converts to this type from the input type.
source§impl Hash for GetGeometryReply
impl Hash for GetGeometryReply
source§impl Ord for GetGeometryReply
impl Ord for GetGeometryReply
source§fn cmp(&self, other: &GetGeometryReply) -> Ordering
fn cmp(&self, other: &GetGeometryReply) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for GetGeometryReply
impl PartialEq for GetGeometryReply
source§fn 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 ==
.source§impl PartialOrd for GetGeometryReply
impl PartialOrd for GetGeometryReply
source§fn partial_cmp(&self, other: &GetGeometryReply) -> Option<Ordering>
fn partial_cmp(&self, other: &GetGeometryReply) -> Option<Ordering>
1.0.0 · source§fn 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 moresource§impl Serialize for GetGeometryReply
impl Serialize for GetGeometryReply
source§impl Serialize for GetGeometryReply
impl Serialize for GetGeometryReply
source§impl TryParse for GetGeometryReply
impl TryParse for GetGeometryReply
impl Copy for GetGeometryReply
impl Eq for GetGeometryReply
impl StructuralPartialEq for GetGeometryReply
Auto Trait Implementations§
impl Freeze for GetGeometryReply
impl RefUnwindSafe for GetGeometryReply
impl Send for GetGeometryReply
impl Sync for GetGeometryReply
impl Unpin for GetGeometryReply
impl UnwindSafe for GetGeometryReply
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> TryParseFd for Twhere
T: TryParse,
impl<T> TryParseFd for Twhere
T: TryParse,
source§fn try_parse_fd<'a>(
value: &'a [u8],
_: &mut Vec<OwnedFd>
) -> Result<(T, &'a [u8]), ParseError>
fn try_parse_fd<'a>( value: &'a [u8], _: &mut Vec<OwnedFd> ) -> Result<(T, &'a [u8]), ParseError>
Try to parse the given values into an instance of this type. Read more