Struct GetDeviceControlRequest
pub struct GetDeviceControlRequest {
pub control_id: DeviceControl,
pub device_id: u8,
}
Fields§
§control_id: DeviceControl
§device_id: u8
Implementations§
Trait Implementations§
§impl Clone for GetDeviceControlRequest
impl Clone for GetDeviceControlRequest
§fn clone(&self) -> GetDeviceControlRequest
fn clone(&self) -> GetDeviceControlRequest
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 GetDeviceControlRequest
impl Debug for GetDeviceControlRequest
§impl Default for GetDeviceControlRequest
impl Default for GetDeviceControlRequest
§fn default() -> GetDeviceControlRequest
fn default() -> GetDeviceControlRequest
Returns the “default value” for a type. Read more
§impl ReplyRequest for GetDeviceControlRequest
impl ReplyRequest for GetDeviceControlRequest
§type Reply = GetDeviceControlReply
type Reply = GetDeviceControlReply
The kind of reply that this request generates.
§impl Request for GetDeviceControlRequest
impl Request for GetDeviceControlRequest
impl Copy for GetDeviceControlRequest
Auto Trait Implementations§
impl Freeze for GetDeviceControlRequest
impl RefUnwindSafe for GetDeviceControlRequest
impl Send for GetDeviceControlRequest
impl Sync for GetDeviceControlRequest
impl Unpin for GetDeviceControlRequest
impl UnwindSafe for GetDeviceControlRequest
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
)