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