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§
source§impl Clone for SetDeviceMode
impl Clone for SetDeviceMode
source§fn clone(&self) -> SetDeviceMode
fn clone(&self) -> SetDeviceMode
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 SetDeviceMode
impl Debug for SetDeviceMode
source§impl RawRequest for SetDeviceMode
impl RawRequest for SetDeviceMode
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 SetDeviceMode
impl Request for SetDeviceMode
source§impl RequestWithReply for SetDeviceMode
impl RequestWithReply for SetDeviceMode
source§type Reply = SetDeviceModeReply
type Reply = SetDeviceModeReply
Reply associated with the request
source§type Cookie = SetDeviceModeCookie
type Cookie = SetDeviceModeCookie
Default cookie type for the request, as returned by Connection::send_request.
source§type CookieUnchecked = SetDeviceModeCookieUnchecked
type CookieUnchecked = SetDeviceModeCookieUnchecked
Unchecked cookie type for the request, as returned by Connection::send_request_unchecked.
Auto Trait Implementations§
impl Freeze for SetDeviceMode
impl RefUnwindSafe for SetDeviceMode
impl Send for SetDeviceMode
impl Sync for SetDeviceMode
impl Unpin for SetDeviceMode
impl UnwindSafe for SetDeviceMode
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
)