Struct QueryExtensionReply
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§
§impl Clone for QueryExtensionReply
impl Clone for QueryExtensionReply
§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 more§impl Debug for QueryExtensionReply
impl Debug for QueryExtensionReply
§impl Default for QueryExtensionReply
impl Default for QueryExtensionReply
§fn default() -> QueryExtensionReply
fn default() -> QueryExtensionReply
Returns the “default value” for a type. Read more
§impl From<QueryExtensionReply> for Reply
impl From<QueryExtensionReply> for Reply
§fn from(reply: QueryExtensionReply) -> Reply
fn from(reply: QueryExtensionReply) -> Reply
Converts to this type from the input type.
§impl Serialize for QueryExtensionReply
impl Serialize for QueryExtensionReply
§impl TryParse for QueryExtensionReply
impl TryParse for QueryExtensionReply
§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 Freeze for QueryExtensionReply
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> 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