Struct x11rb::protocol::xinput::SetDeviceButtonMappingRequest [−][src]
Fields
device_id: u8
map: Cow<'input, [u8]>
Implementations
pub fn send<Conn: ?Sized>(
self,
conn: &Conn
) -> Result<Cookie<'_, Conn, SetDeviceButtonMappingReply>, ConnectionError> where
Conn: RequestConnection + ?Sized,
pub fn try_parse_request(
header: RequestHeader,
value: &'input [u8]
) -> Result<Self, ParseError>
pub fn try_parse_request(
header: RequestHeader,
value: &'input [u8]
) -> Result<Self, ParseError>
Parse this request given its header, its body, and any fds that go along with it
Clone all borrowed data in this SetDeviceButtonMappingRequest.
Trait Implementations
impl<'input> PartialEq<SetDeviceButtonMappingRequest<'input>> for SetDeviceButtonMappingRequest<'input>
impl<'input> PartialEq<SetDeviceButtonMappingRequest<'input>> for SetDeviceButtonMappingRequest<'input>
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
type Reply = SetDeviceButtonMappingReply
type Reply = SetDeviceButtonMappingReply
The kind of reply that this request generates.
Auto Trait Implementations
impl<'input> RefUnwindSafe for SetDeviceButtonMappingRequest<'input>
impl<'input> Send for SetDeviceButtonMappingRequest<'input>
impl<'input> Sync for SetDeviceButtonMappingRequest<'input>
impl<'input> Unpin for SetDeviceButtonMappingRequest<'input>
impl<'input> UnwindSafe for SetDeviceButtonMappingRequest<'input>
Blanket Implementations
Mutably borrows from an owned value. Read more