Struct redwm::imports::QueryExtensionRequest[][src]

pub struct QueryExtensionRequest<'input> {
    pub name: Cow<'input, [u8]>,
}
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, XCB provides the xcb_get_extension_data function instead.

Fields

  • name_len - The length of name in bytes.
  • name - The name of the extension to query, for example “RANDR”. This is case sensitive!

See

  • xdpyinfo: program
  • xcb_get_extension_data: function

Fields

name: Cow<'input, [u8]>

Implementations

Parse this request given its header, its body, and any fds that go along with it

Clone all borrowed data in this QueryExtensionRequest.

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

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

The kind of reply that this request generates.

Parse a reply to this request. Read more

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)

recently added

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.