Trait x11rb::x11_utils::ExtInfoProvider[][src]

pub trait ExtInfoProvider {
    fn get_from_major_opcode(
        &self,
        major_opcode: u8
    ) -> Option<(&str, ExtensionInformation)>;
fn get_from_event_code(
        &self,
        event_code: u8
    ) -> Option<(&str, ExtensionInformation)>;
fn get_from_error_code(
        &self,
        error_code: u8
    ) -> Option<(&str, ExtensionInformation)>; }

Trait to provide information about extensions.

Required methods

fn get_from_major_opcode(
    &self,
    major_opcode: u8
) -> Option<(&str, ExtensionInformation)>
[src]

Returns the information of the extension that whose opcode is major_opcode.

fn get_from_event_code(
    &self,
    event_code: u8
) -> Option<(&str, ExtensionInformation)>
[src]

Returns the information of the extension that whose event number range includes event_number.

fn get_from_error_code(
    &self,
    error_code: u8
) -> Option<(&str, ExtensionInformation)>
[src]

Returns the information of the extension that whose error number range includes error_number.

Loading content...

Implementors

impl ExtInfoProvider for ExtensionManager[src]

Loading content...