Struct xcb::xinput::GetDeviceControl
source · [−]pub struct GetDeviceControl {
pub control_id: DeviceControl,
pub device_id: u8,
}
Expand description
The GetDeviceControl
request.
This request replies GetDeviceControlReply.
Associated cookie types are GetDeviceControlCookie and GetDeviceControlCookieUnchecked.
Fields
control_id: DeviceControl
device_id: u8
Trait Implementations
sourceimpl Clone for GetDeviceControl
impl Clone for GetDeviceControl
sourcefn clone(&self) -> GetDeviceControl
fn clone(&self) -> GetDeviceControl
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 GetDeviceControl
impl Debug for GetDeviceControl
sourceimpl RawRequest for GetDeviceControl
impl RawRequest for GetDeviceControl
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 GetDeviceControl
impl Request for GetDeviceControl
type Cookie = GetDeviceControlCookie
type Cookie = GetDeviceControlCookie
The default cookie associated to this request.
sourceimpl RequestWithReply for GetDeviceControl
impl RequestWithReply for GetDeviceControl
type Reply = GetDeviceControlReply
type Reply = GetDeviceControlReply
Reply associated with the request
type Cookie = GetDeviceControlCookie
type Cookie = GetDeviceControlCookie
Default cookie type for the request, as returned by Connection::send_request.
type CookieUnchecked = GetDeviceControlCookieUnchecked
type CookieUnchecked = GetDeviceControlCookieUnchecked
Unchecked cookie type for the request, as returned by Connection::send_request_unchecked.
Auto Trait Implementations
impl RefUnwindSafe for GetDeviceControl
impl Send for GetDeviceControl
impl Sync for GetDeviceControl
impl Unpin for GetDeviceControl
impl UnwindSafe for GetDeviceControl
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