Struct x11rb::protocol::xkb::GetDeviceInfoRequest
source · 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§
source§impl Clone for GetDeviceInfoRequest
impl Clone for GetDeviceInfoRequest
source§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 moresource§impl Debug for GetDeviceInfoRequest
impl Debug for GetDeviceInfoRequest
source§impl Default for GetDeviceInfoRequest
impl Default for GetDeviceInfoRequest
source§fn default() -> GetDeviceInfoRequest
fn default() -> GetDeviceInfoRequest
Returns the “default value” for a type. Read more
source§impl ReplyRequest for GetDeviceInfoRequest
impl ReplyRequest for GetDeviceInfoRequest
source§type Reply = GetDeviceInfoReply
type Reply = GetDeviceInfoReply
The kind of reply that this request generates.
source§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
)