Struct GetDeviceInfoRequest
pub struct GetDeviceInfoRequest {
pub device_spec: u16,
pub wanted: XIFeature,
pub all_buttons: bool,
pub first_button: u8,
pub n_buttons: u8,
pub led_class: LedClass,
pub led_id: u16,
}
Fields§
§device_spec: u16
§wanted: XIFeature
§led_class: LedClass
§led_id: u16
Implementations§
Trait Implementations§
§impl Clone for GetDeviceInfoRequest
impl Clone for GetDeviceInfoRequest
§fn clone(&self) -> GetDeviceInfoRequest
fn clone(&self) -> GetDeviceInfoRequest
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 more§impl Debug for GetDeviceInfoRequest
impl Debug for GetDeviceInfoRequest
§impl Default for GetDeviceInfoRequest
impl Default for GetDeviceInfoRequest
§fn default() -> GetDeviceInfoRequest
fn default() -> GetDeviceInfoRequest
Returns the “default value” for a type. Read more
§impl ReplyRequest for GetDeviceInfoRequest
impl ReplyRequest for GetDeviceInfoRequest
§type Reply = GetDeviceInfoReply
type Reply = GetDeviceInfoReply
The kind of reply that this request generates.
§impl Request for GetDeviceInfoRequest
impl Request for GetDeviceInfoRequest
impl Copy for GetDeviceInfoRequest
Auto Trait Implementations§
impl Freeze for GetDeviceInfoRequest
impl RefUnwindSafe for GetDeviceInfoRequest
impl Send for GetDeviceInfoRequest
impl Sync for GetDeviceInfoRequest
impl Unpin for GetDeviceInfoRequest
impl UnwindSafe for GetDeviceInfoRequest
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
)