Struct xcb::x::QueryExtension [−][src]
pub struct QueryExtension<'a> {
pub name: &'a str,
}
Expand description
check if extension is present
Determines if the specified extension is present on this X11 server.
Every extension has a unique major_opcode
to identify requests, the minor
opcodes and request formats are extension-specific. If the extension provides
events and errors, the first_event
and first_error
fields in the reply are
set accordingly.
There should rarely be a need to use this request directly, the extensions can be activated with Connection::connect_with_extensions.
Fields
name: &'a str
The name of the extension to query, for example “RANDR”. This is case sensitive!
Trait Implementations
Actual implementation of the request sending Read more
type Cookie = QueryExtensionCookie
type Cookie = QueryExtensionCookie
The default cookie associated to this request.
type Reply = QueryExtensionReply
type Reply = QueryExtensionReply
Reply associated with the request
type Cookie = QueryExtensionCookie
type Cookie = QueryExtensionCookie
Default cookie type for the request, as returned by Connection::send_request.
Unchecked cookie type for the request, as returned by Connection::send_request_unchecked.
Auto Trait Implementations
impl<'a> RefUnwindSafe for QueryExtension<'a>
impl<'a> Send for QueryExtension<'a>
impl<'a> Sync for QueryExtension<'a>
impl<'a> Unpin for QueryExtension<'a>
impl<'a> UnwindSafe for QueryExtension<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more