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