Struct x11rb_protocol::protocol::ge::QueryVersionRequest
source · [−]Fields
client_major_version: u16
client_minor_version: u16
Implementations
sourceimpl QueryVersionRequest
impl QueryVersionRequest
sourcepub fn serialize(self, major_opcode: u8) -> BufWithFds<PiecewiseBuf<'static>>
pub fn serialize(self, major_opcode: u8) -> BufWithFds<PiecewiseBuf<'static>>
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
sourceimpl Clone for QueryVersionRequest
impl Clone for QueryVersionRequest
sourcefn clone(&self) -> QueryVersionRequest
fn clone(&self) -> QueryVersionRequest
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 QueryVersionRequest
impl Debug for QueryVersionRequest
sourceimpl Default for QueryVersionRequest
impl Default for QueryVersionRequest
sourcefn default() -> QueryVersionRequest
fn default() -> QueryVersionRequest
Returns the “default value” for a type. Read more
sourceimpl Hash for QueryVersionRequest
impl Hash for QueryVersionRequest
sourceimpl Ord for QueryVersionRequest
impl Ord for QueryVersionRequest
sourceimpl PartialEq<QueryVersionRequest> for QueryVersionRequest
impl PartialEq<QueryVersionRequest> for QueryVersionRequest
sourcefn eq(&self, other: &QueryVersionRequest) -> bool
fn eq(&self, other: &QueryVersionRequest) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &QueryVersionRequest) -> bool
fn ne(&self, other: &QueryVersionRequest) -> bool
This method tests for !=
.
sourceimpl PartialOrd<QueryVersionRequest> for QueryVersionRequest
impl PartialOrd<QueryVersionRequest> for QueryVersionRequest
sourcefn partial_cmp(&self, other: &QueryVersionRequest) -> Option<Ordering>
fn partial_cmp(&self, other: &QueryVersionRequest) -> 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 ReplyRequest for QueryVersionRequest
impl ReplyRequest for QueryVersionRequest
type Reply = QueryVersionReply
type Reply = QueryVersionReply
The kind of reply that this request generates.
sourceimpl Request for QueryVersionRequest
impl Request for QueryVersionRequest
sourceconst EXTENSION_NAME: Option<&'static str> = Some(X11_EXTENSION_NAME)
const EXTENSION_NAME: Option<&'static str> = Some(X11_EXTENSION_NAME)
The protocol name of the extension that this request belongs to, or None for core requests
impl Copy for QueryVersionRequest
impl Eq for QueryVersionRequest
impl StructuralEq for QueryVersionRequest
impl StructuralPartialEq for QueryVersionRequest
Auto Trait Implementations
impl RefUnwindSafe for QueryVersionRequest
impl Send for QueryVersionRequest
impl Sync for QueryVersionRequest
impl Unpin for QueryVersionRequest
impl UnwindSafe for QueryVersionRequest
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