Struct x11rb_protocol::protocol::xinput::SetDeviceModeRequest
source · pub struct SetDeviceModeRequest {
pub device_id: u8,
pub mode: ValuatorMode,
}
Fields§
§device_id: u8
§mode: ValuatorMode
Implementations§
Trait Implementations§
source§impl Clone for SetDeviceModeRequest
impl Clone for SetDeviceModeRequest
source§fn clone(&self) -> SetDeviceModeRequest
fn clone(&self) -> SetDeviceModeRequest
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 SetDeviceModeRequest
impl Debug for SetDeviceModeRequest
source§impl Default for SetDeviceModeRequest
impl Default for SetDeviceModeRequest
source§fn default() -> SetDeviceModeRequest
fn default() -> SetDeviceModeRequest
Returns the “default value” for a type. Read more
source§impl ReplyRequest for SetDeviceModeRequest
impl ReplyRequest for SetDeviceModeRequest
§type Reply = SetDeviceModeReply
type Reply = SetDeviceModeReply
The kind of reply that this request generates.
source§impl Request for SetDeviceModeRequest
impl Request for SetDeviceModeRequest
impl Copy for SetDeviceModeRequest
Auto Trait Implementations§
impl RefUnwindSafe for SetDeviceModeRequest
impl Send for SetDeviceModeRequest
impl Sync for SetDeviceModeRequest
impl Unpin for SetDeviceModeRequest
impl UnwindSafe for SetDeviceModeRequest
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