Struct xcb::ffi::xproto::xcb_query_extension_request_t[][src]

#[repr(C)]pub struct xcb_query_extension_request_t {
    pub major_opcode: u8,
    pub pad0: u8,
    pub length: u16,
    pub name_len: u16,
    pub pad1: [u8; 2],
}

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

major_opcode: u8pad0: u8length: u16name_len: u16

The length of name in bytes.

pad1: [u8; 2]

Auto Trait Implementations

impl RefUnwindSafe for xcb_query_extension_request_t

impl Send for xcb_query_extension_request_t

impl Sync for xcb_query_extension_request_t

impl Unpin for xcb_query_extension_request_t

impl UnwindSafe for xcb_query_extension_request_t

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.