Module x11rb_protocol::x11_utils
source ยท Expand description
Utility functions for X11 things.
The most important definitions in this module are the TryParse
, TryParseFd
and
Serialize
traits. These traits are used internally for parsing incoming data and producing
outgoing data when talking with the X11 server.
Macrosยง
- bitmask_binop ๐
- forward_float ๐
- implement_serialize ๐
- implement_try_parse ๐
- tuple_impls ๐
- tuple_serialize ๐
- tuple_try_parse ๐
Structsยง
- Information about a X11 extension.
- A representation of the header of a request.
- Representation of an X11 error packet that was sent by the server.
Enumsยง
- Has the BigRequests extension been enabled?
Traitsยง
- Trait to provide information about extensions.
- A X11 request that has a reply with FDs
- A X11 request that has a reply without FDs
- A type implementing this trait is an X11 request.
- A type implementing this trait can be serialized into X11 raw bytes.
- TryIntoUSize ๐Wrapper around TryInto that produces a ParseError.
- A type implementing this trait can be parsed from some raw bytes.
- A type implementing this trait can be parsed from some raw bytes and a list of fds.
- A X11 request that does not have a reply
Functionsยง
- parse_list ๐Parse a list of objects from the given data.
- Parse the given input for a RequestHeader and the remaining input.
- parse_u8_array ๐Parse an array of
u8
from the given data. - parse_u8_array_ref ๐Parse an array of
u8
from the given data. - parse_u8_list ๐Parse a list of
u8
from the given data.
Type Aliasesยง
- A type alias for reply parsers (matches the signature of TryParseFd).