Struct xcb::xkb::GetDeviceInfoReply
source · [−]pub struct GetDeviceInfoReply { /* private fields */ }
Expand description
Reply type for GetDeviceInfo.
Can be obtained from a GetDeviceInfoCookie with Connection::wait_for_reply or from a GetDeviceInfoCookieUnchecked with Connection::wait_for_reply_unchecked
Implementations
sourceimpl GetDeviceInfoReply
impl GetDeviceInfoReply
pub fn response_type(&self) -> u8
pub fn device_id(&self) -> u8
pub fn sequence(&self) -> u16
pub fn length(&self) -> u32
pub fn present(&self) -> XiFeature
pub fn supported(&self) -> XiFeature
pub fn unsupported(&self) -> XiFeature
pub fn first_btn_wanted(&self) -> u8
pub fn n_btns_wanted(&self) -> u8
pub fn first_btn_rtrn(&self) -> u8
pub fn total_btns(&self) -> u8
pub fn has_own_state(&self) -> bool
pub fn dflt_kbd_fb(&self) -> u16
pub fn dflt_led_fb(&self) -> u16
pub fn dev_type(&self) -> Atom
pub fn name(&self) -> &[String8]
pub fn btn_actions(&self) -> &[Action]
pub fn leds(&self) -> DeviceLedInfoIterator<'_>ⓘNotable traits for DeviceLedInfoIterator<'a>impl<'a> Iterator for DeviceLedInfoIterator<'a> type Item = &'a DeviceLedInfo;
Trait Implementations
sourceimpl Debug for GetDeviceInfoReply
impl Debug for GetDeviceInfoReply
sourceimpl Drop for GetDeviceInfoReply
impl Drop for GetDeviceInfoReply
sourceimpl Reply for GetDeviceInfoReply
impl Reply for GetDeviceInfoReply
impl Send for GetDeviceInfoReply
impl Sync for GetDeviceInfoReply
Auto Trait Implementations
impl RefUnwindSafe for GetDeviceInfoReply
impl Unpin for GetDeviceInfoReply
impl UnwindSafe for GetDeviceInfoReply
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more