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
sourceimpl Clone for GetDeviceInfo
impl Clone for GetDeviceInfo
sourcefn clone(&self) -> GetDeviceInfo
fn clone(&self) -> GetDeviceInfo
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for GetDeviceInfo
impl Debug for GetDeviceInfo
sourceimpl RawRequest for GetDeviceInfo
impl RawRequest for GetDeviceInfo
sourcefn 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
sourceimpl Request for GetDeviceInfo
impl Request for GetDeviceInfo
type Cookie = GetDeviceInfoCookie
type Cookie = GetDeviceInfoCookie
The default cookie associated to this request.
sourceimpl RequestWithReply for GetDeviceInfo
impl RequestWithReply for GetDeviceInfo
type Reply = GetDeviceInfoReply
type Reply = GetDeviceInfoReply
Reply associated with the request
type Cookie = GetDeviceInfoCookie
type Cookie = GetDeviceInfoCookie
Default cookie type for the request, as returned by Connection::send_request.
type CookieUnchecked = GetDeviceInfoCookieUnchecked
type CookieUnchecked = GetDeviceInfoCookieUnchecked
Unchecked cookie type for the request, as returned by Connection::send_request_unchecked.
Auto Trait Implementations
impl RefUnwindSafe for GetDeviceInfo
impl Send for GetDeviceInfo
impl Sync for GetDeviceInfo
impl Unpin for GetDeviceInfo
impl UnwindSafe for GetDeviceInfo
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
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more