Struct x11rb::protocol::xproto::GetGeometryReply
source · 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§
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 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 Serialize for GetGeometryReply
impl Serialize for GetGeometryReply
source§impl TryParse for GetGeometryReply
impl TryParse for GetGeometryReply
source§fn try_parse(
initial_value: &[u8],
) -> Result<(GetGeometryReply, &[u8]), ParseError>
fn try_parse( initial_value: &[u8], ) -> Result<(GetGeometryReply, &[u8]), ParseError>
Try to parse the given values into an instance of this type. Read more
impl Copy 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