Struct GetGeometryReply
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§
§impl Clone for GetGeometryReply
impl Clone for GetGeometryReply
§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 more§impl Debug for GetGeometryReply
impl Debug for GetGeometryReply
§impl Default for GetGeometryReply
impl Default for GetGeometryReply
§fn default() -> GetGeometryReply
fn default() -> GetGeometryReply
Returns the “default value” for a type. Read more
§impl From<GetGeometryReply> for Reply
impl From<GetGeometryReply> for Reply
§fn from(reply: GetGeometryReply) -> Reply
fn from(reply: GetGeometryReply) -> Reply
Converts to this type from the input type.
§impl Serialize for GetGeometryReply
impl Serialize for GetGeometryReply
§impl TryParse for GetGeometryReply
impl TryParse for GetGeometryReply
§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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§impl<T> TryParseFd for Twhere
T: TryParse,
impl<T> TryParseFd for Twhere
T: TryParse,
§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