Struct x11rb::protocol::xkb::SetDeviceInfoRequest [−][src]
pub struct SetDeviceInfoRequest<'input> {
pub device_spec: DeviceSpec,
pub first_btn: u8,
pub change: u16,
pub btn_actions: Cow<'input, [Action]>,
pub leds: Cow<'input, [DeviceLedInfo]>,
}
Fields
device_spec: DeviceSpec
first_btn: u8
change: u16
btn_actions: Cow<'input, [Action]>
leds: Cow<'input, [DeviceLedInfo]>
Implementations
pub fn send<Conn: ?Sized>(
self,
conn: &Conn
) -> Result<VoidCookie<'_, Conn>, 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 SetDeviceInfoRequest.
Trait Implementations
Auto Trait Implementations
impl<'input> RefUnwindSafe for SetDeviceInfoRequest<'input>
impl<'input> Send for SetDeviceInfoRequest<'input>
impl<'input> Sync for SetDeviceInfoRequest<'input>
impl<'input> Unpin for SetDeviceInfoRequest<'input>
impl<'input> UnwindSafe for SetDeviceInfoRequest<'input>
Blanket Implementations
Mutably borrows from an owned value. Read more