xcb::xkb

Struct GetMapReply

Source
pub struct GetMapReply { /* private fields */ }
Expand description

Implementations§

Source§

impl GetMapReply

Source

pub fn response_type(&self) -> u8

Source

pub fn device_id(&self) -> u8

Source

pub fn sequence(&self) -> u16

Source

pub fn length(&self) -> u32

Source

pub fn min_key_code(&self) -> Keycode

Source

pub fn max_key_code(&self) -> Keycode

Source

pub fn present(&self) -> MapPart

Source

pub fn first_type(&self) -> u8

Source

pub fn total_types(&self) -> u8

Source

pub fn first_key_sym(&self) -> Keycode

Source

pub fn total_syms(&self) -> u16

Source

pub fn first_key_action(&self) -> Keycode

Source

pub fn first_key_behavior(&self) -> Keycode

Source

pub fn n_key_behaviors(&self) -> u8

Source

pub fn first_key_explicit(&self) -> Keycode

Source

pub fn n_key_explicit(&self) -> u8

Source

pub fn first_mod_map_key(&self) -> Keycode

Source

pub fn n_mod_map_keys(&self) -> u8

Source

pub fn first_v_mod_map_key(&self) -> Keycode

Source

pub fn n_v_mod_map_keys(&self) -> u8

Source

pub fn virtual_mods(&self) -> VMod

Source

pub fn map(&self) -> Vec<GetMapReplyMap>

Trait Implementations§

Source§

impl Debug for GetMapReply

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Drop for GetMapReply

Source§

fn drop(&mut self)

Executes the destructor for this type. Read more
Source§

impl Reply for GetMapReply

Source§

unsafe fn from_raw(raw: *const u8) -> Self

Build the reply struct from a raw pointer. Read more
Source§

unsafe fn into_raw(self) -> *const u8

Consume the reply struct into a raw pointer. Read more
Source§

unsafe fn as_raw(&self) -> *const u8

Get the raw pointer of the XCB reply. Read more
Source§

impl Send for GetMapReply

Source§

impl Sync for GetMapReply

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

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

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.