Struct x11rb_protocol::protocol::xinput::SetDeviceValuatorsRequest
source · pub struct SetDeviceValuatorsRequest<'input> {
pub device_id: u8,
pub first_valuator: u8,
pub valuators: Cow<'input, [i32]>,
}
Fields§
§device_id: u8
§first_valuator: u8
§valuators: Cow<'input, [i32]>
Implementations§
source§impl<'input> SetDeviceValuatorsRequest<'input>
impl<'input> SetDeviceValuatorsRequest<'input>
sourcepub fn serialize(self, major_opcode: u8) -> BufWithFds<[Cow<'input, [u8]>; 3]>
pub fn serialize(self, major_opcode: u8) -> BufWithFds<[Cow<'input, [u8]>; 3]>
Serialize this request into bytes for the provided connection
sourcepub fn into_owned(self) -> SetDeviceValuatorsRequest<'static>
pub fn into_owned(self) -> SetDeviceValuatorsRequest<'static>
Clone all borrowed data in this SetDeviceValuatorsRequest.
Trait Implementations§
source§impl<'input> Clone for SetDeviceValuatorsRequest<'input>
impl<'input> Clone for SetDeviceValuatorsRequest<'input>
source§fn clone(&self) -> SetDeviceValuatorsRequest<'input>
fn clone(&self) -> SetDeviceValuatorsRequest<'input>
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 SetDeviceValuatorsRequest<'_>
impl Debug for SetDeviceValuatorsRequest<'_>
source§impl<'input> Default for SetDeviceValuatorsRequest<'input>
impl<'input> Default for SetDeviceValuatorsRequest<'input>
source§fn default() -> SetDeviceValuatorsRequest<'input>
fn default() -> SetDeviceValuatorsRequest<'input>
Returns the “default value” for a type. Read more
source§impl<'input> ReplyRequest for SetDeviceValuatorsRequest<'input>
impl<'input> ReplyRequest for SetDeviceValuatorsRequest<'input>
§type Reply = SetDeviceValuatorsReply
type Reply = SetDeviceValuatorsReply
The kind of reply that this request generates.
source§impl<'input> Request for SetDeviceValuatorsRequest<'input>
impl<'input> Request for SetDeviceValuatorsRequest<'input>
Auto Trait Implementations§
impl<'input> RefUnwindSafe for SetDeviceValuatorsRequest<'input>
impl<'input> Send for SetDeviceValuatorsRequest<'input>
impl<'input> Sync for SetDeviceValuatorsRequest<'input>
impl<'input> Unpin for SetDeviceValuatorsRequest<'input>
impl<'input> UnwindSafe for SetDeviceValuatorsRequest<'input>
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