pub struct QueryDeviceState {
pub device_id: u8,
}Expand description
The QueryDeviceState request.
This request replies QueryDeviceStateReply.
Associated cookie types are QueryDeviceStateCookie and QueryDeviceStateCookieUnchecked.
Fields§
§device_id: u8Trait Implementations§
Source§impl Clone for QueryDeviceState
impl Clone for QueryDeviceState
Source§fn clone(&self) -> QueryDeviceState
fn clone(&self) -> QueryDeviceState
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 QueryDeviceState
impl Debug for QueryDeviceState
Source§impl RawRequest for QueryDeviceState
impl RawRequest for QueryDeviceState
Source§fn raw_request(&self, c: &Connection, checked: bool) -> u64
fn raw_request(&self, c: &Connection, checked: bool) -> u64
Actual implementation of the request sending Read more
Source§impl Request for QueryDeviceState
impl Request for QueryDeviceState
Source§impl RequestWithReply for QueryDeviceState
impl RequestWithReply for QueryDeviceState
Source§type Reply = QueryDeviceStateReply
type Reply = QueryDeviceStateReply
Reply associated with the request
Source§type Cookie = QueryDeviceStateCookie
type Cookie = QueryDeviceStateCookie
Default cookie type for the request, as returned by Connection::send_request.
Source§type CookieUnchecked = QueryDeviceStateCookieUnchecked
type CookieUnchecked = QueryDeviceStateCookieUnchecked
Unchecked cookie type for the request, as returned by Connection::send_request_unchecked.
Auto Trait Implementations§
impl Freeze for QueryDeviceState
impl RefUnwindSafe for QueryDeviceState
impl Send for QueryDeviceState
impl Sync for QueryDeviceState
impl Unpin for QueryDeviceState
impl UnwindSafe for QueryDeviceState
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