Struct x11rb::protocol::xproto::QueryExtensionReply
source · pub struct QueryExtensionReply {
pub sequence: u16,
pub length: u32,
pub present: bool,
pub major_opcode: u8,
pub first_event: u8,
pub first_error: u8,
}
Expand description
Fields
present
- Whether the extension is present on this X11 server.major_opcode
- The major opcode for requests.first_event
- The first event code, if any.first_error
- The first error code, if any.
Fields§
§sequence: u16
§length: u32
§present: bool
§major_opcode: u8
§first_event: u8
§first_error: u8
Trait Implementations§
source§impl Clone for QueryExtensionReply
impl Clone for QueryExtensionReply
source§fn clone(&self) -> QueryExtensionReply
fn clone(&self) -> QueryExtensionReply
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 QueryExtensionReply
impl Debug for QueryExtensionReply
source§impl Default for QueryExtensionReply
impl Default for QueryExtensionReply
source§fn default() -> QueryExtensionReply
fn default() -> QueryExtensionReply
Returns the “default value” for a type. Read more
source§impl From<QueryExtensionReply> for Reply
impl From<QueryExtensionReply> for Reply
source§fn from(reply: QueryExtensionReply) -> Reply
fn from(reply: QueryExtensionReply) -> Reply
Converts to this type from the input type.
source§impl Serialize for QueryExtensionReply
impl Serialize for QueryExtensionReply
source§impl TryParse for QueryExtensionReply
impl TryParse for QueryExtensionReply
source§fn try_parse(
initial_value: &[u8]
) -> Result<(QueryExtensionReply, &[u8]), ParseError>
fn try_parse( initial_value: &[u8] ) -> Result<(QueryExtensionReply, &[u8]), ParseError>
Try to parse the given values into an instance of this type. Read more
impl Copy for QueryExtensionReply
Auto Trait Implementations§
impl RefUnwindSafe for QueryExtensionReply
impl Send for QueryExtensionReply
impl Sync for QueryExtensionReply
impl Unpin for QueryExtensionReply
impl UnwindSafe for QueryExtensionReply
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