Struct x11rb_protocol::protocol::shape::QueryExtentsRequest
source · pub struct QueryExtentsRequest {
pub destination_window: Window,
}
Fields§
§destination_window: Window
Implementations§
source§impl QueryExtentsRequest
impl QueryExtentsRequest
sourcepub fn serialize(self, major_opcode: u8) -> BufWithFds<[Cow<'static, [u8]>; 1]>
pub fn serialize(self, major_opcode: u8) -> BufWithFds<[Cow<'static, [u8]>; 1]>
Serialize this request into bytes for the provided connection
sourcepub fn try_parse_request(
header: RequestHeader,
value: &[u8]
) -> Result<Self, ParseError>
pub fn try_parse_request( header: RequestHeader, value: &[u8] ) -> Result<Self, ParseError>
Parse this request given its header, its body, and any fds that go along with it
Trait Implementations§
source§impl Clone for QueryExtentsRequest
impl Clone for QueryExtentsRequest
source§fn clone(&self) -> QueryExtentsRequest
fn clone(&self) -> QueryExtentsRequest
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 QueryExtentsRequest
impl Debug for QueryExtentsRequest
source§impl Default for QueryExtentsRequest
impl Default for QueryExtentsRequest
source§fn default() -> QueryExtentsRequest
fn default() -> QueryExtentsRequest
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for QueryExtentsRequest
impl<'de> Deserialize<'de> for QueryExtentsRequest
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 Hash for QueryExtentsRequest
impl Hash for QueryExtentsRequest
source§impl Ord for QueryExtentsRequest
impl Ord for QueryExtentsRequest
source§fn cmp(&self, other: &QueryExtentsRequest) -> Ordering
fn cmp(&self, other: &QueryExtentsRequest) -> 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 QueryExtentsRequest
impl PartialEq for QueryExtentsRequest
source§fn eq(&self, other: &QueryExtentsRequest) -> bool
fn eq(&self, other: &QueryExtentsRequest) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for QueryExtentsRequest
impl PartialOrd for QueryExtentsRequest
source§fn partial_cmp(&self, other: &QueryExtentsRequest) -> Option<Ordering>
fn partial_cmp(&self, other: &QueryExtentsRequest) -> 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 ReplyRequest for QueryExtentsRequest
impl ReplyRequest for QueryExtentsRequest
§type Reply = QueryExtentsReply
type Reply = QueryExtentsReply
The kind of reply that this request generates.
source§impl Request for QueryExtentsRequest
impl Request for QueryExtentsRequest
source§impl Serialize for QueryExtentsRequest
impl Serialize for QueryExtentsRequest
impl Copy for QueryExtentsRequest
impl Eq for QueryExtentsRequest
impl StructuralPartialEq for QueryExtentsRequest
Auto Trait Implementations§
impl Freeze for QueryExtentsRequest
impl RefUnwindSafe for QueryExtentsRequest
impl Send for QueryExtentsRequest
impl Sync for QueryExtentsRequest
impl Unpin for QueryExtentsRequest
impl UnwindSafe for QueryExtentsRequest
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