Struct xcb::xkb::GetDeviceInfo
source · pub struct GetDeviceInfo {
pub device_spec: DeviceSpec,
pub wanted: XiFeature,
pub all_buttons: bool,
pub first_button: u8,
pub n_buttons: u8,
pub led_class: LedClass,
pub led_id: IdSpec,
}
Expand description
The GetDeviceInfo
request.
This request replies GetDeviceInfoReply.
Associated cookie types are GetDeviceInfoCookie and GetDeviceInfoCookieUnchecked.
Fields§
§device_spec: DeviceSpec
§wanted: XiFeature
§led_class: LedClass
§led_id: IdSpec
Trait Implementations§
source§impl Clone for GetDeviceInfo
impl Clone for GetDeviceInfo
source§fn clone(&self) -> GetDeviceInfo
fn clone(&self) -> GetDeviceInfo
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for GetDeviceInfo
impl Debug for GetDeviceInfo
source§impl RawRequest for GetDeviceInfo
impl RawRequest for GetDeviceInfo
source§fn raw_request(&self, c: &Connection, checked: bool) -> u64
fn raw_request(&self, c: &Connection, checked: bool) -> u64
Actual implementation of the request sending Read more
source§impl Request for GetDeviceInfo
impl Request for GetDeviceInfo
source§impl RequestWithReply for GetDeviceInfo
impl RequestWithReply for GetDeviceInfo
source§type Reply = GetDeviceInfoReply
type Reply = GetDeviceInfoReply
Reply associated with the request
source§type Cookie = GetDeviceInfoCookie
type Cookie = GetDeviceInfoCookie
Default cookie type for the request, as returned by Connection::send_request.
source§type CookieUnchecked = GetDeviceInfoCookieUnchecked
type CookieUnchecked = GetDeviceInfoCookieUnchecked
Unchecked cookie type for the request, as returned by Connection::send_request_unchecked.
Auto Trait Implementations§
impl Freeze for GetDeviceInfo
impl RefUnwindSafe for GetDeviceInfo
impl Send for GetDeviceInfo
impl Sync for GetDeviceInfo
impl Unpin for GetDeviceInfo
impl UnwindSafe for GetDeviceInfo
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)