Trait x11rb::x11_utils::ExtInfoProvider [−][src]
Trait to provide information about extensions.
Required methods
fn get_from_major_opcode(
&self,
major_opcode: u8
) -> Option<(&str, ExtensionInformation)>
[src]
&self,
major_opcode: u8
) -> Option<(&str, ExtensionInformation)>
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]
&self,
event_code: u8
) -> Option<(&str, ExtensionInformation)>
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]
&self,
error_code: u8
) -> Option<(&str, ExtensionInformation)>
Returns the information of the extension that whose
error number range includes error_number
.
Implementors
impl ExtInfoProvider for ExtensionManager
[src]
fn get_from_major_opcode(
&self,
major_opcode: u8
) -> Option<(&str, ExtensionInformation)>
[src]
&self,
major_opcode: u8
) -> Option<(&str, ExtensionInformation)>
fn get_from_event_code(
&self,
event_code: u8
) -> Option<(&str, ExtensionInformation)>
[src]
&self,
event_code: u8
) -> Option<(&str, ExtensionInformation)>
fn get_from_error_code(
&self,
error_code: u8
) -> Option<(&str, ExtensionInformation)>
[src]
&self,
error_code: u8
) -> Option<(&str, ExtensionInformation)>