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.

This request replies QueryExtensionReply.

Associated cookie types are QueryExtensionCookie and QueryExtensionCookieUnchecked.

Fields

name: &'a str

The name of the extension to query, for example “RANDR”. This is case sensitive!

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Actual implementation of the request sending Read more

The default cookie associated to this request.

false if the request returns a reply, true otherwise.

Reply associated with the request

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

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.